mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
SCUMM: FT: fix bug #12022
This commit is contained in:
parent
434d1f37f9
commit
054c970598
@ -391,7 +391,18 @@ void ScummEngine_v7::processKeyboard(Common::KeyState lastKeyHit) {
|
||||
_insane->escapeKeyHandler();
|
||||
else
|
||||
_smushVideoShouldFinish = true;
|
||||
_skipVideo = true;
|
||||
|
||||
// WORKAROUND bug #12022: For some reason, skipping the cutscene in which Ben fires up
|
||||
// his bike (after retrieving the keys from the bartender), will outright skip the first
|
||||
// bike fight sequence. Because of this, the script which handles playing ambient and wind SFX
|
||||
// outside the bar is never stopped, so those SFX are unintentionally played throughout the
|
||||
// rest of the game.
|
||||
// This fix produces the intended behaviour from the original interpreter.
|
||||
if (_game.id == GID_FT && vm.slot[_currentScript].number == 65 && _currentRoom == 6) {
|
||||
_skipVideo = false;
|
||||
} else {
|
||||
_skipVideo = true;
|
||||
}
|
||||
} else {
|
||||
abortCutscene();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user