diff options
author | Paul Gilbert | 2015-08-29 22:29:43 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-29 22:29:43 -0400 |
commit | edd95b3eb6657997f3749fde43d8df7d934be20e (patch) | |
tree | 55cdda24231b31bcf093aeab2ca788452149d429 | |
parent | 2c28a1e12d5d4cdfbf585a2d9995f9879e3e7c83 (diff) | |
download | scummvm-rg350-edd95b3eb6657997f3749fde43d8df7d934be20e.tar.gz scummvm-rg350-edd95b3eb6657997f3749fde43d8df7d934be20e.tar.bz2 scummvm-rg350-edd95b3eb6657997f3749fde43d8df7d934be20e.zip |
SHERLOCK: RT: Don't check for gameplay keys when entering copy protection
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index 75d436b0c0..160b1ca5a0 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -270,17 +270,18 @@ void TattooUserInterface::handleInput() { if (events.kbHit()) { _keyState = events.getKey(); - if (_keyState.keycode == Common::KEYCODE_s && vm._allowFastMode) - vm._fastMode = !vm._fastMode; - - else if (_keyState.keycode == Common::KEYCODE_l && _bgFound != -1) { - // Beging used for testing that Look dialogs work - lookAtObject(); - - } else if (_keyState.keycode == Common::KEYCODE_ESCAPE && vm._runningProlog && !_lockoutTimer) { + if (_keyState.keycode == Common::KEYCODE_ESCAPE && vm._runningProlog && !_lockoutTimer) { vm.setFlags(-76); vm.setFlags(396); scene._goToScene = STARTING_GAME_SCENE; + } else if (_menuMode == STD_MODE) { + if (_keyState.keycode == Common::KEYCODE_s && vm._allowFastMode) { + vm._fastMode = !vm._fastMode; + + } else if (_keyState.keycode == Common::KEYCODE_l && _bgFound != -1) { + // Beging used for testing that Look dialogs work + lookAtObject(); + } } } |