[Scummvm-cvs-logs] SF.net SVN: scummvm:[54655]	scummvm/trunk/engines/mohawk/livingbooks.cpp
    fuzzie at users.sourceforge.net 
    fuzzie at users.sourceforge.net
       
    Tue Nov 30 00:19:43 CET 2010
    
    
  
Revision: 54655
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54655&view=rev
Author:   fuzzie
Date:     2010-11-29 23:19:43 +0000 (Mon, 29 Nov 2010)
Log Message:
-----------
MOHAWK: don't start animations in LBAnimation::seek
Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/livingbooks.cpp
Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-11-29 23:14:04 UTC (rev 54654)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-11-29 23:19:43 UTC (rev 54655)
@@ -1240,7 +1240,6 @@
 	delete shapeStream;
 }
 
-
 void LBAnimation::draw() {
 	for (uint32 i = 0; i < _nodes.size(); i++)
 		_nodes[i]->draw(_bounds);
@@ -1291,7 +1290,9 @@
 }
 
 void LBAnimation::seek(uint16 pos) {
-	start();
+	_lastTime = 0;
+	_currentFrame = 0;
+	_done = false;
 
 	for (uint32 i = 0; i < _nodes.size(); i++)
 		_nodes[i]->reset();
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