diff options
author | Max Horn | 2003-07-22 01:03:10 +0000 |
---|---|---|
committer | Max Horn | 2003-07-22 01:03:10 +0000 |
commit | 1ba701296920115d1b70b9e0d22810e1104dad65 (patch) | |
tree | 09e3a1ffc2e90c6746ded89a3abc0b0a7e65ca79 /scumm | |
parent | d79ae6f1f28da20530ce9df61a9ce4cc5160d3cc (diff) | |
download | scummvm-rg350-1ba701296920115d1b70b9e0d22810e1104dad65.tar.gz scummvm-rg350-1ba701296920115d1b70b9e0d22810e1104dad65.tar.bz2 scummvm-rg350-1ba701296920115d1b70b9e0d22810e1104dad65.zip |
fix for bug #770704
svn-id: r9115
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 9e94d8c566..79b5010eeb 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1626,6 +1626,12 @@ void Scumm::processKbd() { _videoFinished = true; } else abortCutscene(); + if (_version <= 2) { + // Ensure that the input script also sees the key press. + // This is necessary so you can abort the airplane travel + // in Zak. + VAR(VAR_KEYPRESS) = VAR(VAR_CUTSCENEEXIT_KEY); + } } else if (_lastKeyHit == saveloadkey) { if (VAR_SAVELOAD_SCRIPT != 0xFF && _currentRoom != 0) runScript(VAR(VAR_SAVELOAD_SCRIPT), 0, 0, 0); |