diff options
Diffstat (limited to 'engines/xeen/dialogs_query.cpp')
-rw-r--r-- | engines/xeen/dialogs_query.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/dialogs_query.cpp b/engines/xeen/dialogs_query.cpp index fd466938b3..75de3ee3ea 100644 --- a/engines/xeen/dialogs_query.cpp +++ b/engines/xeen/dialogs_query.cpp @@ -66,8 +66,8 @@ bool Confirm::execute(const Common::String &msg, int mode) { w.update(); events.clearEvents(); - while (!_vm->shouldQuit()) { - while (!_vm->shouldQuit() && !_buttonValue) { + while (!_vm->shouldExit()) { + while (!_vm->shouldExit() && !_buttonValue) { events.pollEvents(); checkEvents(_vm); } @@ -124,7 +124,7 @@ bool YesNo::execute(bool type, bool townFlag) { intf._face2State = map._headData[party._mazePosition.y][party._mazePosition.x]._right; } - while (!_vm->shouldQuit()) { + while (!_vm->shouldExit()) { events.updateGameCounter(); if (loc.isActive()) { |