diff options
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r-- | engines/kyra/lol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index dbf3702b1f..31a25895a5 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -2073,7 +2073,7 @@ uint16 *LoLEngine::getCharacterOrMonsterProtectionAgainstItems(int id) { void LoLEngine::delay(uint32 millis, bool cUpdate, bool iUpdate) { int del = (int)(millis); - while (del > 0) { + while (del > 0 && !shouldQuit()) { if (cUpdate) update(); if (iUpdate) |