mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Don't delay any longer, when engine is asked to quit.
svn-id: r40699
This commit is contained in:
parent
b70bbcf306
commit
cc250e0029
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user