1
0
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:
FunkyFr3sh 2023-10-05 02:02:07 +02:00
parent cbeffa867f
commit d04ada54d9

View File

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