GRIM: Remove not needed condition for speed limit

This commit is contained in:
Paweł Kołodziejski 2022-06-07 23:49:30 +02:00
parent fd5cef2692
commit 72cbf1e323
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7

View File

@ -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);