Browse Source

Fix next debug monster key

Accidentally changed to ALT+m from SHIFT+m in #5023
pull/5028/head
Gleb Mazovetskiy 4 years ago
parent
commit
303a6cf5ea
  1. 4
      Source/diablo.cpp

4
Source/diablo.cpp

@ -516,7 +516,7 @@ void PressKey(SDL_Keycode vkey, uint16_t modState)
return; return;
#ifdef _DEBUG #ifdef _DEBUG
case SDLK_m: case SDLK_m:
if ((modState & KMOD_ALT) != 0) if ((modState & KMOD_SHIFT) != 0)
NextDebugMonster(); NextDebugMonster();
else else
GetDebugMonster(); GetDebugMonster();
@ -587,6 +587,8 @@ void PressKey(SDL_Keycode vkey, uint16_t modState)
if (AutomapActive && !talkflag) if (AutomapActive && !talkflag)
AutomapRight(); AutomapRight();
return; return;
default:
break;
} }
} }

Loading…
Cancel
Save