aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-27 14:51:33 +0000
committerJohannes Schickel2008-03-27 14:51:33 +0000
commit57b80a79ab11894a2f9f02b0ddb743d85fcb7132 (patch)
tree44e4a8667730e062937e87fb840d3e201811208d /engines
parent9287ea8376b689359b7c10a4b4a8b14474c402b5 (diff)
downloadscummvm-rg350-57b80a79ab11894a2f9f02b0ddb743d85fcb7132.tar.gz
scummvm-rg350-57b80a79ab11894a2f9f02b0ddb743d85fcb7132.tar.bz2
scummvm-rg350-57b80a79ab11894a2f9f02b0ddb743d85fcb7132.zip
Fix for bug #1926838 "HoF: Animation plays too fast".
svn-id: r31262
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/script_v2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp
index 72ced9d7de..886bed3fbd 100644
--- a/engines/kyra/script_v2.cpp
+++ b/engines/kyra/script_v2.cpp
@@ -1103,11 +1103,13 @@ int KyraEngine_v2::o2_updateSceneAnim(ScriptState *script) {
// slower or maybe faster in the original, but at least this looks OK for
// Raziel^.
//
- // We know currently of two different animations where this happens.
+ // We know currently of some different animations where this happens.
// - One is where Marco is dangling from the flesh-eating plant (see bug #1923638 "HoF: Marco missing animation frames").
// - The other one is after giving the ticket to the captain. He would move very fast (barely noticeable) onto the ship
// without this delay.
- if ((stackPos(0) == 2 && _mainCharacter.sceneId == 3) || (stackPos(0) == 3 && _mainCharacter.sceneId == 33))
+ // - The scene after giving the sandwitch to the guards in the city.
+ if ((stackPos(0) == 2 && _mainCharacter.sceneId == 3) || (stackPos(0) == 3 && _mainCharacter.sceneId == 33) ||
+ ((stackPos(0) == 1 || stackPos(0) == 2) && _mainCharacter.sceneId == 19))
_sceneSpecialScriptsTimer[_lastProcessedSceneScript] = _system->getMillis() + _tickLength * 6;
_specialSceneScriptRunFlag = false;