From 01c611385e1f84ee45925e4f2011d50a5351ba9c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 2 Jan 2008 11:25:17 +0000 Subject: Fix regression when skipping cutscenes in Maniac Mansion (C64). svn-id: r30144 --- engines/scumm/input.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3