From 303a6cf5ea07f62023eb74ae5595db5cf537f1b3 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 17 Jul 2022 11:10:22 +0100 Subject: [PATCH] Fix next debug monster key Accidentally changed to ALT+m from SHIFT+m in #5023 --- Source/diablo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/diablo.cpp b/Source/diablo.cpp index 06f6376ad..b45e5c20f 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -516,7 +516,7 @@ void PressKey(SDL_Keycode vkey, uint16_t modState) return; #ifdef _DEBUG case SDLK_m: - if ((modState & KMOD_ALT) != 0) + if ((modState & KMOD_SHIFT) != 0) NextDebugMonster(); else GetDebugMonster(); @@ -587,6 +587,8 @@ void PressKey(SDL_Keycode vkey, uint16_t modState) if (AutomapActive && !talkflag) AutomapRight(); return; + default: + break; } }