mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-20 22:33:02 +01:00
Fix formatting
This commit is contained in:
@@ -169,7 +169,7 @@ void KeyboardShortcuts::GetKeyboardMapScroll(const uint8_t* keysState, int32_t*
|
|||||||
if (!keysState[scancode])
|
if (!keysState[scancode])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Check if SHIFT is either set in the shortcut key and currently,
|
// Check if SHIFT is either set in the shortcut key and currently pressed,
|
||||||
// or not set in the shortcut key and not currently pressed (in other words: check if they match).
|
// or not set in the shortcut key and not currently pressed (in other words: check if they match).
|
||||||
if ((bool)(shortcutKey & SHIFT) != (keysState[SDL_SCANCODE_LSHIFT] || keysState[SDL_SCANCODE_RSHIFT]))
|
if ((bool)(shortcutKey & SHIFT) != (keysState[SDL_SCANCODE_LSHIFT] || keysState[SDL_SCANCODE_RSHIFT]))
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user