diff options
Diffstat (limited to 'sword1/sword1.cpp')
-rw-r--r-- | sword1/sword1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index 6adba5702d..c547291270 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -1149,7 +1149,7 @@ uint8 SwordEngine::mainLoop(void) { if (newTime - frameTime < 1000 / FRAME_RATE) { scrollFrameShown = _screen->showScrollFrame(); int32 restDelay = (1000 / (FRAME_RATE * 2)) - (_system->get_msecs() - frameTime); - if (restDelay > 0) + if (restDelay > 0) delay((uint)restDelay); } |