diff options
Diffstat (limited to 'engines/agos/window.cpp')
-rw-r--r-- | engines/agos/window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/window.cpp b/engines/agos/window.cpp index 87db49e46b..e1f986b92e 100644 --- a/engines/agos/window.cpp +++ b/engines/agos/window.cpp @@ -298,11 +298,11 @@ void AGOSEngine::waitWindow(WindowBlock *window) { ha->id = 0x7FFF; ha->priority = 999; - while (!quit()) { + while (!_quit) { _lastHitArea = NULL; _lastHitArea3 = NULL; - while (!quit()) { + for (;;) { if (_lastHitArea3 != 0) break; delay(1); |