let game handle window close so it can restore the original cursor
This commit is contained in:
parent
c7fc076fdb
commit
f3672b5315
1 changed files with 2 additions and 0 deletions
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…
Reference in a new issue