mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
use _exit to avoid issues on close
This commit is contained in:
parent
cbeffa867f
commit
d04ada54d9
@ -512,7 +512,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
||||
|
||||
if (wParam == SC_CLOSE && !GameHandlesClose)
|
||||
{
|
||||
exit(0);
|
||||
_exit(0);
|
||||
}
|
||||
|
||||
if (wParam == SC_KEYMENU && GetMenu(g_ddraw->hwnd) == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user