aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-06-07 18:43:17 -0400
committerPaul Gilbert2014-06-07 18:43:17 -0400
commitee894cfc4af8aa4a69eaf4bdd62ce604d5468c15 (patch)
tree45900554db0e54d15e649d29f4314044ea8369f4 /engines
parent2222060656bc2f097641915bf46bae424e421877 (diff)
downloadscummvm-rg350-ee894cfc4af8aa4a69eaf4bdd62ce604d5468c15.tar.gz
scummvm-rg350-ee894cfc4af8aa4a69eaf4bdd62ce604d5468c15.tar.bz2
scummvm-rg350-ee894cfc4af8aa4a69eaf4bdd62ce604d5468c15.zip
MADS: Fix calculating frame delays for animated objects
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index ca953a0ec9..ffeed6cda8 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -451,8 +451,8 @@ void Scene::doFrame() {
if (_vm->_game->_fx) {
uint32 priorTime = _vm->_game->_priorFrameTimer;
uint32 newTime = _vm->_events->getFrameCounter();
- _sequences.delay(newTime, priorTime);
- _kernelMessages.delay(newTime, priorTime);
+ _sequences.delay(priorTime, newTime);
+ _kernelMessages.delay(priorTime, newTime);
}
if (_vm->_debugger->_showMousePos)