[Scummvm-cvs-logs] SF.net SVN: scummvm: [31262] scummvm/trunk/engines/kyra/script_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Mar 27 15:51:33 CET 2008


Revision: 31262
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31262&view=rev
Author:   lordhoto
Date:     2008-03-27 07:51:33 -0700 (Thu, 27 Mar 2008)

Log Message:
-----------
Fix for bug #1926838 "HoF: Animation plays too fast".

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/script_v2.cpp

Modified: scummvm/trunk/engines/kyra/script_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_v2.cpp	2008-03-27 11:06:29 UTC (rev 31261)
+++ scummvm/trunk/engines/kyra/script_v2.cpp	2008-03-27 14:51:33 UTC (rev 31262)
@@ -1103,11 +1103,13 @@
 	// 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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list