aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/menu.cpp')
-rw-r--r--engines/touche/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/menu.cpp b/engines/touche/menu.cpp
index 82490fca38..9da76dadde 100644
--- a/engines/touche/menu.cpp
+++ b/engines/touche/menu.cpp
@@ -433,7 +433,7 @@ void ToucheEngine::handleOptions(int forceDisplay) {
_system->delayMillis(10);
}
_fullRedrawCounter = 2;
- if (!menuData.exit && quit()) {
+ if (!menuData.exit && shouldQuit()) {
if (displayQuitDialog())
quitGame();
}