1
0
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:
FunkyFr3sh 2024-03-18 01:10:04 +01:00
parent c7fc076fdb
commit f3672b5315

@ -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;