[Scummvm-cvs-logs] scummvm master -> ee894cfc4af8aa4a69eaf4bdd62ce604d5468c15

dreammaster dreammaster at scummvm.org
Sun Jun 8 00:43:53 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ee894cfc4a MADS: Fix calculating frame delays for animated objects


Commit: ee894cfc4af8aa4a69eaf4bdd62ce604d5468c15
    https://github.com/scummvm/scummvm/commit/ee894cfc4af8aa4a69eaf4bdd62ce604d5468c15
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-06-07T18:43:17-04:00

Commit Message:
MADS: Fix calculating frame delays for animated objects

Changed paths:
    engines/mads/scene.cpp



diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index ca953a0..ffeed6c 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)






More information about the Scummvm-git-logs mailing list