aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/builtin.cpp
diff options
context:
space:
mode:
authorSimei Yin2017-08-03 04:14:35 +0200
committerSimei Yin2017-08-03 04:14:35 +0200
commit7eade8b0318bd969afce4958e27813956fcd5baa (patch)
tree161e5341d30eaac69a60ad5317483642215aae30 /engines/sludge/builtin.cpp
parentbbc781faaad94ad7b7024f98156225062a57dde4 (diff)
downloadscummvm-rg350-7eade8b0318bd969afce4958e27813956fcd5baa.tar.gz
scummvm-rg350-7eade8b0318bd969afce4958e27813956fcd5baa.tar.bz2
scummvm-rg350-7eade8b0318bd969afce4958e27813956fcd5baa.zip
SLUDGE: Quit game built-in function
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r--engines/sludge/builtin.cpp4
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;
}