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

some more cosmetic changes

This commit is contained in:
FunkyFr3sh 2024-09-07 16:50:51 +02:00
parent 0a65317d96
commit d0de68bf42

View File

@ -83,7 +83,7 @@ LRESULT CALLBACK keyboard_hook_proc(int code, WPARAM wParam, LPARAM lParam)
ss_take_screenshot(g_ddraw.primary);
}
if (wParam == VK_CONTROL || wParam == g_config.hotkeys.unlock_cursor1)
if (wParam == g_config.hotkeys.unlock_cursor1 || wParam == VK_CONTROL)
{
if ((real_GetAsyncKeyState(VK_CONTROL) & 0x8000) &&
(real_GetAsyncKeyState(g_config.hotkeys.unlock_cursor1) & 0x8000))