aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-30 22:51:09 -0400
committerMatthew Hoops2011-09-30 22:51:09 -0400
commita85165035c34143b2d56a632a718b8a8e553f6db (patch)
tree49723738ca7fc077b7485ca1be375d64805f5521
parent05c774bb8bca0a166c0656e73802dfc40667e052 (diff)
downloadscummvm-rg350-a85165035c34143b2d56a632a718b8a8e553f6db.tar.gz
scummvm-rg350-a85165035c34143b2d56a632a718b8a8e553f6db.tar.bz2
scummvm-rg350-a85165035c34143b2d56a632a718b8a8e553f6db.zip
PEGASUS: Fix pausing normal TimeBases
-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;