mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-16 06:18:53 +01:00
let game handle window close so it can restore the original cursor
This commit is contained in:
parent
c7fc076fdb
commit
f3672b5315
2
src/dd.c
2
src/dd.c
@ -14,6 +14,7 @@
|
||||
#include "debug.h"
|
||||
#include "utils.h"
|
||||
#include "blt.h"
|
||||
#include "dllmain.h"
|
||||
|
||||
|
||||
CNCDDRAW* g_ddraw = NULL;
|
||||
@ -1224,6 +1225,7 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
|
||||
}
|
||||
else
|
||||
{
|
||||
GameHandlesClose = TRUE;
|
||||
g_config.devmode = TRUE;
|
||||
g_config.fullscreen = FALSE;
|
||||
g_config.windowed = TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user