[Scummvm-git-logs] scummvm master -> fef5139729bc8bfc10beaaf3f7fd51ab72afa8d8

bluegr bluegr at gmail.com
Sun Feb 2 20:35:12 UTC 2020


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:
fef5139729 ZVISION: Fix initial out-of-bounds condition in clock.


Commit: fef5139729bc8bfc10beaaf3f7fd51ab72afa8d8
    https://github.com/scummvm/scummvm/commit/fef5139729bc8bfc10beaaf3f7fd51ab72afa8d8
Author: Christian Speckner (christian.speckner at mayflower.de)
Date: 2020-02-02T22:35:08+02:00

Commit Message:
ZVISION: Fix initial out-of-bounds condition in clock.

Changed paths:
    engines/zvision/core/clock.cpp


diff --git a/engines/zvision/core/clock.cpp b/engines/zvision/core/clock.cpp
index 1425d55..3321422 100644
--- a/engines/zvision/core/clock.cpp
+++ b/engines/zvision/core/clock.cpp
@@ -30,7 +30,7 @@ namespace ZVision {
 
 Clock::Clock(OSystem *system)
 	: _system(system),
-	  _lastTime(0),
+	  _lastTime(system->getMillis()),
 	  _deltaTime(0),
 	  _pausedTime(0),
 	  _paused(false) {




More information about the Scummvm-git-logs mailing list