diff options
-rw-r--r-- | engines/kyra/kyra_v2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp index c451bf1ec7..a5380689a5 100644 --- a/engines/kyra/kyra_v2.cpp +++ b/engines/kyra/kyra_v2.cpp @@ -516,7 +516,7 @@ void KyraEngine_v2::handleInput(int x, int y) { } } - if (_deathHandler <= -1) + if (_deathHandler > -1) skipHandling = 1; if (skipHandling) @@ -776,12 +776,11 @@ int KyraEngine_v2::checkInput(Button *buttonList, bool mainLoop) { sprintf(savegameName, "Quicksave %d", event.kbd.keycode - '0'); saveGame(saveLoadSlot, savegameName); } + breakLoop = true; } else if (event.kbd.flags == Common::KBD_CTRL) { if (event.kbd.keycode == 'd') _debugger->attach(); } - - breakLoop = true; break; case Common::EVENT_LBUTTONUP: { |