diff options
author | Travis Howell | 2008-08-08 02:18:17 +0000 |
---|---|---|
committer | Travis Howell | 2008-08-08 02:18:17 +0000 |
commit | fd65ea311ae0f1ea0ddfe6c4daa7bbe1a79823f9 (patch) | |
tree | 6f2a7d5908d89df7c1f1620b46a5d76499b7c95c /engines/agos/script_e1.cpp | |
parent | 52650efb6a510960109af0b1a040102f57a396e8 (diff) | |
download | scummvm-rg350-fd65ea311ae0f1ea0ddfe6c4daa7bbe1a79823f9.tar.gz scummvm-rg350-fd65ea311ae0f1ea0ddfe6c4daa7bbe1a79823f9.tar.bz2 scummvm-rg350-fd65ea311ae0f1ea0ddfe6c4daa7bbe1a79823f9.zip |
Hopefully allow quiting at any stage AGOS engines games again.
svn-id: r33693
Diffstat (limited to 'engines/agos/script_e1.cpp')
-rw-r--r-- | engines/agos/script_e1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agos/script_e1.cpp b/engines/agos/script_e1.cpp index c7e1d6736e..9b572e347b 100644 --- a/engines/agos/script_e1.cpp +++ b/engines/agos/script_e1.cpp @@ -1053,11 +1053,11 @@ uint AGOSEngine::confirmYesOrNo(uint16 x, uint16 y) { ha->priority = 999; ha->window = 0; - for (;;) { + while (!_quit) { _lastHitArea = NULL; _lastHitArea3 = NULL; - for (;;) { + while (!_quit) { if (_lastHitArea3 != 0) break; delay(1); @@ -1102,11 +1102,11 @@ uint AGOSEngine::continueOrQuit() { ha->priority = 999; ha->window = 0; - for (;;) { + while (!_quit) { _lastHitArea = NULL; _lastHitArea3 = NULL; - for (;;) { + while (!_quit) { if (_lastHitArea3 != 0) break; delay(1); |