aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2009-01-03 12:32:19 +0000
committerSven Hesse2009-01-03 12:32:19 +0000
commit5de6898694ab3588b1843846bd18f94ee1ac2314 (patch)
tree9dfc3be24965b129c1b9df400b4ebe4b8c974cab /engines
parentb3a7e537944f6b26bd4d4e1676bd1bc2ca20efd9 (diff)
downloadscummvm-rg350-5de6898694ab3588b1843846bd18f94ee1ac2314.tar.gz
scummvm-rg350-5de6898694ab3588b1843846bd18f94ee1ac2314.tar.bz2
scummvm-rg350-5de6898694ab3588b1843846bd18f94ee1ac2314.zip
This should fix the SMK playing bug discussed in the forums
SMKPlayer::getFrameDelay() returns the time to wait _in 1/100 ms_. svn-id: r35696
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index 411245e694..e21dac68d2 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -481,7 +481,7 @@ bool MoviePlayerSMK::processFrame() {
_ticks = _vm->_system->getMillis();
} else {
_ticks += getFrameDelay();
- while (_vm->_system->getMillis() < _ticks)
+ while ((_vm->_system->getMillis() * 100) < _ticks)
_vm->_system->delayMillis(10);
}