[Scummvm-cvs-logs] scummvm master -> b50cac637ece07c87e39232a1e8fe7262ace06f2
clone2727
clone2727 at gmail.com
Wed Jan 30 03:42:57 CET 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b50cac637e PEGASUS: Reset _lastMillis when changing rate in the timer
Commit: b50cac637ece07c87e39232a1e8fe7262ace06f2
https://github.com/scummvm/scummvm/commit/b50cac637ece07c87e39232a1e8fe7262ace06f2
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2013-01-29T18:41:01-08:00
Commit Message:
PEGASUS: Reset _lastMillis when changing rate in the timer
Changed paths:
engines/pegasus/timers.cpp
diff --git a/engines/pegasus/timers.cpp b/engines/pegasus/timers.cpp
index 3b87503..b88f9cd 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;
More information about the Scummvm-git-logs
mailing list