diff options
author | Matthew Hoops | 2011-09-29 12:08:42 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-29 12:08:42 -0400 |
commit | de5849b102d4fbb1eb9c25f0b9456101de6836bf (patch) | |
tree | 0c42e29d78f589d8b3ecbdfb82f35dad3c83543a /engines | |
parent | 69badbebc43488caa66bd5ac25d942fb36592259 (diff) | |
download | scummvm-rg350-de5849b102d4fbb1eb9c25f0b9456101de6836bf.tar.gz scummvm-rg350-de5849b102d4fbb1eb9c25f0b9456101de6836bf.tar.bz2 scummvm-rg350-de5849b102d4fbb1eb9c25f0b9456101de6836bf.zip |
PEGASUS: Fix TimeBase::setTime
Need to reset _lastMillis or checkCallBacks won't work properly
Diffstat (limited to 'engines')
-rwxr-xr-x | engines/pegasus/timers.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |