[Scummvm-cvs-logs] SF.net SVN: scummvm: [30955] scummvm/trunk/engines/saga/animation.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Feb 24 17:12:47 CET 2008


Revision: 30955
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30955&view=rev
Author:   thebluegr
Date:     2008-02-24 08:12:47 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
Fix for bug #1900254 - "ITE: Glitches when bridging the gorge"

Modified Paths:
--------------
    scummvm/trunk/engines/saga/animation.cpp

Modified: scummvm/trunk/engines/saga/animation.cpp
===================================================================
--- scummvm/trunk/engines/saga/animation.cpp	2008-02-24 15:00:28 UTC (rev 30954)
+++ scummvm/trunk/engines/saga/animation.cpp	2008-02-24 16:12:47 UTC (rev 30955)
@@ -557,8 +557,10 @@
 		_vm->_frameCount += 100;	// make sure the waiting thread stops waiting
 		// Animation done playing
 		anim->state = ANIM_PAUSE;
-		anim->currentFrame = 0;
-		anim->completed = 0;
+		if (_vm->getGameType() == GType_IHNM) {
+			anim->currentFrame = 0;
+			anim->completed = 0;
+		}
 
 		if (anim->linkId == -1) {
 			if (anim->flags & ANIM_FLAG_ENDSCENE) {


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