mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
some more cosmetic changes
This commit is contained in:
parent
0a65317d96
commit
d0de68bf42
@ -83,7 +83,7 @@ LRESULT CALLBACK keyboard_hook_proc(int code, WPARAM wParam, LPARAM lParam)
|
|||||||
ss_take_screenshot(g_ddraw.primary);
|
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) &&
|
if ((real_GetAsyncKeyState(VK_CONTROL) & 0x8000) &&
|
||||||
(real_GetAsyncKeyState(g_config.hotkeys.unlock_cursor1) & 0x8000))
|
(real_GetAsyncKeyState(g_config.hotkeys.unlock_cursor1) & 0x8000))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user