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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jun 3 04:39:46 CEST 2007


Revision: 27060
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27060&view=rev
Author:   thebluegr
Date:     2007-06-02 19:39:44 -0700 (Sat, 02 Jun 2007)

Log Message:
-----------
Moved the updating of framecount to a more appropriate place

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

Modified: scummvm/trunk/engines/saga/actor.cpp
===================================================================
--- scummvm/trunk/engines/saga/actor.cpp	2007-06-02 21:02:35 UTC (rev 27059)
+++ scummvm/trunk/engines/saga/actor.cpp	2007-06-03 02:39:44 UTC (rev 27060)
@@ -1811,10 +1811,6 @@
 
 	createDrawOrderList();
 
-	// Update frameCount for sfWaitFrames in IHNM
-	// TODO: is this the correct place to do this?
-	_vm->_frameCount++;
-
 	for (drawOrderIterator = _drawOrderList.begin(); drawOrderIterator != _drawOrderList.end(); ++drawOrderIterator) {
 		drawObject = drawOrderIterator.operator*();
 

Modified: scummvm/trunk/engines/saga/saga.cpp
===================================================================
--- scummvm/trunk/engines/saga/saga.cpp	2007-06-02 21:02:35 UTC (rev 27059)
+++ scummvm/trunk/engines/saga/saga.cpp	2007-06-03 02:39:44 UTC (rev 27060)
@@ -295,6 +295,8 @@
 		// Per frame processing
 		_render->drawScene();
 		_system->delayMillis(10);
+		// Update frameCount for sfWaitFrames in IHNM
+		_frameCount++;
 	}
 
 	return 0;


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