mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 14:14:47 +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);
|
||||
}
|
||||
|
||||
if (wParam == SC_KEYMENU)
|
||||
if (wParam == SC_KEYMENU && GetMenu(g_ddraw->hwnd) == NULL)
|
||||
return 0;
|
||||
|
||||
if (!GameHandlesClose)
|
||||
|
Loading…
x
Reference in New Issue
Block a user