[Scummvm-git-logs] scummvm master -> 4253feaef9ce584f7b1301d84c93ba9b8c340d76

peterkohaut peterkohaut at users.noreply.github.com
Thu Sep 5 21:21:42 CEST 2019


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:
4253feaef9 BLADERUNNER: Fix compiler warning (#1830)


Commit: 4253feaef9ce584f7b1301d84c93ba9b8c340d76
    https://github.com/scummvm/scummvm/commit/4253feaef9ce584f7b1301d84c93ba9b8c340d76
Author: jepael (jepael at users.noreply.github.com)
Date: 2019-09-05T21:21:39+02:00

Commit Message:
BLADERUNNER: Fix compiler warning (#1830)

Changed paths:
    engines/bladerunner/framelimiter.cpp


diff --git a/engines/bladerunner/framelimiter.cpp b/engines/bladerunner/framelimiter.cpp
index 9dea099..5a2dee1 100644
--- a/engines/bladerunner/framelimiter.cpp
+++ b/engines/bladerunner/framelimiter.cpp
@@ -55,9 +55,9 @@ void Framelimiter::wait() {
 	uint32 timeNow = _vm->_time->currentSystem();
 	uint32 frameDuration = timeNow - _timeFrameStart;
 	if (frameDuration < _speedLimitMs) {
-		uint32 wait = _speedLimitMs - frameDuration;
-		_vm->_system->delayMillis(wait);
-		timeNow += wait;
+		uint32 waittime = _speedLimitMs - frameDuration;
+		_vm->_system->delayMillis(waittime);
+		timeNow += waittime;
 	}
 	// debug("frametime %i ms", timeNow - _timeFrameStart);
 	// using _vm->_time->currentSystem() here is slower and causes some shutters





More information about the Scummvm-git-logs mailing list