From 20197d50c366449aeba4ef10f072157909605ae9 Mon Sep 17 00:00:00 2001 From: Ted John Date: Tue, 13 Jun 2017 17:20:50 +0100 Subject: [PATCH] Fix #5595: No longer able to navigate map diagonally using arrow keys --- src/openrct2-ui/input/KeyboardShortcuts.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/openrct2-ui/input/KeyboardShortcuts.cpp b/src/openrct2-ui/input/KeyboardShortcuts.cpp index 817d90e38d..eb6f6b87da 100644 --- a/src/openrct2-ui/input/KeyboardShortcuts.cpp +++ b/src/openrct2-ui/input/KeyboardShortcuts.cpp @@ -184,24 +184,19 @@ void KeyboardShortcuts::GetKeyboardMapScroll(const uint8 * keysState, sint32 * x #endif switch (shortcutId) { case SHORTCUT_SCROLL_MAP_UP: - *x = 0; *y = -1; break; case SHORTCUT_SCROLL_MAP_LEFT: *x = -1; - *y = 0; break; case SHORTCUT_SCROLL_MAP_DOWN: - *x = 0; *y = 1; break; case SHORTCUT_SCROLL_MAP_RIGHT: *x = 1; - *y = 0; break; default: - *x = 0; - *y = 0; + break; } } }