aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-05-31 08:00:06 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commit8ce9bac02aadf45b2b96b05b1b70186ed28e8559 (patch)
tree103490c779ccbc2aac80e63b1240de6da84867b0
parent3ea95583a2cd2e8b6f8bb501a97ce9167e514776 (diff)
downloadscummvm-rg350-8ce9bac02aadf45b2b96b05b1b70186ed28e8559.tar.gz
scummvm-rg350-8ce9bac02aadf45b2b96b05b1b70186ed28e8559.tar.bz2
scummvm-rg350-8ce9bac02aadf45b2b96b05b1b70186ed28e8559.zip
LILLIPUT: Set _shouldQuit in OC_saveAndQUIT and OC_deleteSavegameAndQuit
-rw-r--r--engines/lilliput/script.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp
index 967486e07a..f88587495a 100644
--- a/engines/lilliput/script.cpp
+++ b/engines/lilliput/script.cpp
@@ -2292,6 +2292,7 @@ void LilliputScript::OC_DisableCharacter() {
void LilliputScript::OC_saveAndQuit() {
warning("OC_saveAndQuit");
+ _vm->_shouldQuit = true;
}
void LilliputScript::OC_sub17B93() {
@@ -2321,6 +2322,7 @@ void LilliputScript::OC_resetByte1714E() {
void LilliputScript::OC_deleteSavegameAndQuit() {
warning("OC_deleteSavegameAndQuit");
+ _vm->_shouldQuit = true;
}
void LilliputScript::OC_incByte16F04() {