[Scummvm-git-logs] scummvm master -> 72cbf1e323b1ab006a35c7ce16cfd4e1b8980894
aquadran
noreply at scummvm.org
Tue Jun 7 21:49:35 UTC 2022
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:
72cbf1e323 GRIM: Remove not needed condition for speed limit
Commit: 72cbf1e323b1ab006a35c7ce16cfd4e1b8980894
https://github.com/scummvm/scummvm/commit/72cbf1e323b1ab006a35c7ce16cfd4e1b8980894
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2022-06-07T23:49:30+02:00
Commit Message:
GRIM: Remove not needed condition for speed limit
Changed paths:
engines/grim/grim.cpp
diff --git a/engines/grim/grim.cpp b/engines/grim/grim.cpp
index e427ee9f67f..392fb19b733 100644
--- a/engines/grim/grim.cpp
+++ b/engines/grim/grim.cpp
@@ -1131,8 +1131,6 @@ void GrimEngine::mainLoop() {
if (startTime > endTime)
continue;
uint32 diffTime = endTime - startTime;
- if (_speedLimitMs == 0)
- continue;
if (diffTime < _speedLimitMs) {
uint32 delayTime = _speedLimitMs - diffTime;
g_system->delayMillis(delayTime);
More information about the Scummvm-git-logs
mailing list