diff options
author | jepael | 2019-09-05 22:21:39 +0300 |
---|---|---|
committer | Peter Kohaut | 2019-09-05 21:21:39 +0200 |
commit | 4253feaef9ce584f7b1301d84c93ba9b8c340d76 (patch) | |
tree | 4508122fa57aac91001d9545dba7a90c811c9f51 /engines/bladerunner | |
parent | 9bb66c705959685b550e1a30ef948e2afa9a4855 (diff) | |
download | scummvm-rg350-4253feaef9ce584f7b1301d84c93ba9b8c340d76.tar.gz scummvm-rg350-4253feaef9ce584f7b1301d84c93ba9b8c340d76.tar.bz2 scummvm-rg350-4253feaef9ce584f7b1301d84c93ba9b8c340d76.zip |
BLADERUNNER: Fix compiler warning (#1830)
Diffstat (limited to 'engines/bladerunner')
-rw-r--r-- | engines/bladerunner/framelimiter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/bladerunner/framelimiter.cpp b/engines/bladerunner/framelimiter.cpp index 9dea099eef..5a2dee1f54 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 |