mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
allow SC_KEYMENU in case there's a menu (Infantry Online)
This commit is contained in:
parent
96bcaeb036
commit
c8c10836b5
@ -460,7 +460,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wParam == SC_KEYMENU)
|
if (wParam == SC_KEYMENU && GetMenu(g_ddraw->hwnd) == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (!GameHandlesClose)
|
if (!GameHandlesClose)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user