[Scummvm-cvs-logs] SF.net SVN: scummvm:[35696] scummvm/trunk/engines/agos/animation.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Sat Jan 3 13:32:20 CET 2009
Revision: 35696
http://scummvm.svn.sourceforge.net/scummvm/?rev=35696&view=rev
Author: drmccoy
Date: 2009-01-03 12:32:19 +0000 (Sat, 03 Jan 2009)
Log Message:
-----------
This should fix the SMK playing bug discussed in the forums
SMKPlayer::getFrameDelay() returns the time to wait _in 1/100 ms_.
Modified Paths:
--------------
scummvm/trunk/engines/agos/animation.cpp
Modified: scummvm/trunk/engines/agos/animation.cpp
===================================================================
--- scummvm/trunk/engines/agos/animation.cpp 2009-01-03 11:35:00 UTC (rev 35695)
+++ scummvm/trunk/engines/agos/animation.cpp 2009-01-03 12:32:19 UTC (rev 35696)
@@ -481,7 +481,7 @@
_ticks = _vm->_system->getMillis();
} else {
_ticks += getFrameDelay();
- while (_vm->_system->getMillis() < _ticks)
+ while ((_vm->_system->getMillis() * 100) < _ticks)
_vm->_system->delayMillis(10);
}
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