diff options
author | Matthew Hoops | 2013-01-29 21:41:01 -0500 |
---|---|---|
committer | Matthew Hoops | 2013-01-29 21:41:01 -0500 |
commit | b50cac637ece07c87e39232a1e8fe7262ace06f2 (patch) | |
tree | 22f2b0f585f9171edb548bc61f37a220e45bc2cb /engines/pegasus | |
parent | e37be9f5355f58bf8b0852d13c8d81e3c55ff8d2 (diff) | |
download | scummvm-rg350-b50cac637ece07c87e39232a1e8fe7262ace06f2.tar.gz scummvm-rg350-b50cac637ece07c87e39232a1e8fe7262ace06f2.tar.bz2 scummvm-rg350-b50cac637ece07c87e39232a1e8fe7262ace06f2.zip |
PEGASUS: Reset _lastMillis when changing rate in the timer
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | 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 3b875038cc..b88f9cd574 100644 --- a/engines/pegasus/timers.cpp +++ b/engines/pegasus/timers.cpp @@ -93,6 +93,7 @@ TimeValue TimeBase::getTime(const TimeScale scale) { void TimeBase::setRate(const Common::Rational rate) { _rate = rate; + _lastMillis = 0; if (_rate == 0) _paused = false; |