[Scummvm-cvs-logs] SF.net SVN: scummvm:[42585] scummvm/branches/gsoc2009-draci/engines/draci/ animation.cpp

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Sat Jul 18 07:21:01 CEST 2009


Revision: 42585
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42585&view=rev
Author:   dkasak13
Date:     2009-07-18 05:21:01 +0000 (Sat, 18 Jul 2009)

Log Message:
-----------
Fixed bug which caused animations to sometimes be played too fast if the engine was busier than usual (like when redrawing the whole screen when returning from minimized state).

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp

Modified: scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp	2009-07-18 03:20:26 UTC (rev 42584)
+++ scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp	2009-07-18 05:21:01 UTC (rev 42585)
@@ -86,7 +86,7 @@
 		} else {
 			_vm->_screen->getSurface()->markDirtyRect(frameRect);
 			_currentFrame = nextFrameNum();
-			_tick += frame->getDelay();
+			_tick = _vm->_system->getMillis();
 		}
 	}
 


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