aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-20 13:23:16 -0400
committerMatthew Hoops2011-09-20 13:23:16 -0400
commit0193d0d01948a0b2b24967be036fbcddfccc7fd6 (patch)
tree6efb6ea95a21038bc545bbee1de711b9d5f1860a
parentdc0a98f655bb3cf0459085b6f84f29e7cb9eaa00 (diff)
downloadscummvm-rg350-0193d0d01948a0b2b24967be036fbcddfccc7fd6.tar.gz
scummvm-rg350-0193d0d01948a0b2b24967be036fbcddfccc7fd6.tar.bz2
scummvm-rg350-0193d0d01948a0b2b24967be036fbcddfccc7fd6.zip
PEGASUS: Fix a regression in checkCallBacks()
-rwxr-xr-xengines/pegasus/timers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/timers.cpp b/engines/pegasus/timers.cpp
index ab0e4da31d..b462e42cc3 100755
--- a/engines/pegasus/timers.cpp
+++ b/engines/pegasus/timers.cpp
@@ -223,7 +223,7 @@ void TimeBase::checkCallBacks() {
// TODO: Update the slaves?
- Common::Rational time = getTime();
+ Common::Rational time = Common::Rational(getTime(), getScale());
// Check if we've triggered any callbacks
for (TimeBaseCallBack *runner = _callBackList; runner != 0; runner = runner->_nextCallBack) {