diff options
author | Johannes Schickel | 2009-05-18 20:07:09 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-18 20:07:09 +0000 |
commit | cc250e002998bfff54553d55580b8bc73fe715e7 (patch) | |
tree | 33d0393b42025649ff8761418b6a68120e9912d6 /engines | |
parent | b70bbcf3064e7b8f882d7287b02e3408b8179d88 (diff) | |
download | scummvm-rg350-cc250e002998bfff54553d55580b8bc73fe715e7.tar.gz scummvm-rg350-cc250e002998bfff54553d55580b8bc73fe715e7.tar.bz2 scummvm-rg350-cc250e002998bfff54553d55580b8bc73fe715e7.zip |
Don't delay any longer, when engine is asked to quit.
svn-id: r40699
Diffstat (limited to 'engines')
-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) |