From de5849b102d4fbb1eb9c25f0b9456101de6836bf Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 29 Sep 2011 12:08:42 -0400 Subject: PEGASUS: Fix TimeBase::setTime Need to reset _lastMillis or checkCallBacks won't work properly --- engines/pegasus/timers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/pegasus/timers.cpp b/engines/pegasus/timers.cpp index b3dd3cf721..d09d0299c8 100755 --- a/engines/pegasus/timers.cpp +++ b/engines/pegasus/timers.cpp @@ -81,6 +81,7 @@ TimeBase::~TimeBase() { void TimeBase::setTime(const TimeValue time, const TimeScale scale) { _time = Common::Rational(time, (scale == 0) ? _preferredScale : scale); + _lastMillis = 0; } TimeValue TimeBase::getTime(const TimeScale scale) { -- cgit v1.2.3