aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r--engines/xeen/xeen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp
index 0e2980119c..9c33ab8cb1 100644
--- a/engines/xeen/xeen.cpp
+++ b/engines/xeen/xeen.cpp
@@ -206,7 +206,7 @@ void XeenEngine::play() {
void XeenEngine::gameLoop() {
// Main game loop
- while (!shouldQuit()) {
+ while (!shouldExit()) {
if (_loadSaveSlot >= 0) {
// Load any pending savegame
int saveSlot = _loadSaveSlot;
@@ -217,7 +217,7 @@ void XeenEngine::gameLoop() {
_map->cellFlagLookup(_party->_mazePosition);
if (_map->_currentIsEvent) {
_quitMode = (QuitMode)_scripts->checkEvents();
- if (shouldQuit() || _quitMode)
+ if (shouldExit() || _quitMode)
return;
}
_party->giveTreasure();