aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/engine.h')
-rw-r--r--engines/engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/engine.h b/engines/engine.h
index 0968642a08..278c259ea8 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -128,9 +128,9 @@ public:
bool isPaused() const { return _pauseLevel != 0; }
/**
- * Return whether or not the engine should quit
+ * Return whether or not the ENGINE should quit
*/
- bool quit() const { return _eventMan->shouldQuit(); }
+ bool quit() const { return (_eventMan->shouldQuit() || _eventMan->shouldRTL()); }
/** Run the Global Main Menu Dialog
*/