diff options
Diffstat (limited to 'engines/xeen/dialogs_message.cpp')
-rw-r--r-- | engines/xeen/dialogs_message.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/dialogs_message.cpp b/engines/xeen/dialogs_message.cpp index 039680249f..b0bc5b6634 100644 --- a/engines/xeen/dialogs_message.cpp +++ b/engines/xeen/dialogs_message.cpp @@ -44,7 +44,7 @@ void MessageDialog::execute(const Common::String &msg, MessageWaitType waitType) switch (waitType) { case WT_FREEZE_WAIT: - while (!_vm->shouldQuit() && !events.isKeyMousePressed()) + while (!_vm->shouldExit() && !events.isKeyMousePressed()) events.pollEventsAndWait(); events.clearEvents(); @@ -65,7 +65,7 @@ void MessageDialog::execute(const Common::String &msg, MessageWaitType waitType) events.wait(1); if (checkEvents(_vm)) break; - } while (!_vm->shouldQuit() && !_buttonValue); + } while (!_vm->shouldExit() && !_buttonValue); break; case WT_LOC_WAIT: @@ -113,7 +113,7 @@ void CantCast::execute(int spellId, int componentNum) { do { events.pollEventsAndWait(); - } while (!_vm->shouldQuit() && !events.isKeyMousePressed()); + } while (!_vm->shouldExit() && !events.isKeyMousePressed()); events.clearEvents(); w.close(); |