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-03-20 06:53:01 +01:00
parent 69b29ebac3
commit 3750ca384d

View File

@ -1278,7 +1278,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)
{