diff options
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r-- | engines/sludge/builtin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index 01d58a0815..6d7d571638 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -977,11 +977,9 @@ builtIn(callEvent) { return BR_CONTINUE; } -bool reallyWantToQuit = false; - builtIn(quitGame) { UNUSEDALL - reallyWantToQuit = true; + g_sludge->_evtMan->quitGame(); return BR_CONTINUE; } |