aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/timers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/timers.cpp')
-rwxr-xr-xengines/pegasus/timers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/timers.cpp b/engines/pegasus/timers.cpp
index d09d0299c8..d610b2f742 100755
--- a/engines/pegasus/timers.cpp
+++ b/engines/pegasus/timers.cpp
@@ -206,9 +206,9 @@ void TimeBase::checkCallBacks() {
// First step: update the times
if (_lastMillis == 0) {
- _lastMillis = g_system->getMillis();
+ _lastMillis = g_engine->getTotalPlayTime();
} else {
- uint32 curTime = g_system->getMillis();
+ uint32 curTime = g_engine->getTotalPlayTime();
if (_lastMillis == curTime) // No change
return;