diff options
author | Johannes Schickel | 2008-03-18 00:04:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-03-18 00:04:34 +0000 |
commit | 5df3a2e1309f24e8380299ee3ac15cb2a72ff6cf (patch) | |
tree | f1f3bbd5999e5d28fefc4a629dd1106d588f1e38 | |
parent | 68a603139daa80e672b474b3b30c4cae01c360ef (diff) | |
download | scummvm-rg350-5df3a2e1309f24e8380299ee3ac15cb2a72ff6cf.tar.gz scummvm-rg350-5df3a2e1309f24e8380299ee3ac15cb2a72ff6cf.tar.bz2 scummvm-rg350-5df3a2e1309f24e8380299ee3ac15cb2a72ff6cf.zip |
Fixed bug preventing movement.
svn-id: r31172
-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: { |