[Scummvm-cvs-logs] SF.net SVN: scummvm:[55787] scummvm/trunk/engines/toon/toon.cpp
sylvaintv at users.sourceforge.net
sylvaintv at users.sourceforge.net
Sat Feb 5 14:12:44 CET 2011
Revision: 55787
http://scummvm.svn.sourceforge.net/scummvm/?rev=55787&view=rev
Author: sylvaintv
Date: 2011-02-05 13:12:42 +0000 (Sat, 05 Feb 2011)
Log Message:
-----------
TOON: Fix formatting issues
Modified Paths:
--------------
scummvm/trunk/engines/toon/toon.cpp
Modified: scummvm/trunk/engines/toon/toon.cpp
===================================================================
--- scummvm/trunk/engines/toon/toon.cpp 2011-02-05 12:11:57 UTC (rev 55786)
+++ scummvm/trunk/engines/toon/toon.cpp 2011-02-05 13:12:42 UTC (rev 55787)
@@ -421,8 +421,8 @@
// add a little sleep here if needed.
int32 newMillis = (int32)_system->getMillis();
- if(newMillis - _lastRenderTime < _tickLength) {
- int32 sleepMs = _tickLength - ( _system->getMillis() - _lastRenderTime );
+ if (newMillis - _lastRenderTime < _tickLength) {
+ int32 sleepMs = _tickLength - (newMillis - _lastRenderTime);
assert(sleepMs >= 0);
_system->delayMillis(sleepMs);
}
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