aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/input.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index e2ba127e5e..b53867ca3d 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -495,7 +495,8 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) {
abortCutscene();
// FIXME: Is the following line really necessary?
- _mouseAndKeyboardStat = VAR(VAR_CUTSCENEEXIT_KEY);
+ if (VAR_CUTSCENEEXIT_KEY != 0xFF)
+ _mouseAndKeyboardStat = VAR(VAR_CUTSCENEEXIT_KEY);
} else if (lastKeyHit.ascii == '[' || lastKeyHit.ascii == ']') { // Change music volume
int vol = ConfMan.getInt("music_volume") / 16;