mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-14 22:03:27 +01:00
use ExitProcess instead of _exit to avoid issues
This commit is contained in:
parent
fd1bac4a38
commit
14ff0a0d9e
@ -591,7 +591,8 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
||||
|
||||
if (wParam == SC_CLOSE && !GameHandlesClose)
|
||||
{
|
||||
_exit(0);
|
||||
ExitProcess(0);
|
||||
//_exit(0);
|
||||
}
|
||||
|
||||
if (wParam == SC_KEYMENU && GetMenu(g_ddraw.hwnd) == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user