1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

fix unlock cursor keys

This commit is contained in:
FunkyFr3sh 2019-08-07 03:02:50 +02:00
parent a19d11a262
commit 462809e76e

View File

@ -1370,7 +1370,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return 0;
}
}
if (wParam == VK_MENU)
if (wParam == VK_CONTROL || wParam == VK_MENU)
{
if ((GetAsyncKeyState(VK_RMENU) & 0x8000) && GetAsyncKeyState(VK_RCONTROL) & 0x8000)
{