aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sfuncs.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-07-11 01:09:48 +0000
committerChristopher Page2008-07-11 01:09:48 +0000
commitcbadb51ce75f2ec599203433b50c9d4bf5f51728 (patch)
treefc5cdb2364cb82505001d62c2d53ed2edd2d9052 /engines/saga/sfuncs.cpp
parent67c8c39fdf4ae01c0d4a1c6ce97afd720eb4be4e (diff)
downloadscummvm-rg350-cbadb51ce75f2ec599203433b50c9d4bf5f51728.tar.gz
scummvm-rg350-cbadb51ce75f2ec599203433b50c9d4bf5f51728.tar.bz2
scummvm-rg350-cbadb51ce75f2ec599203433b50c9d4bf5f51728.zip
SAGA works with new GMM implementation
svn-id: r33000
Diffstat (limited to 'engines/saga/sfuncs.cpp')
-rw-r--r--engines/saga/sfuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index ea61f5ce04..9a304de8e1 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -356,7 +356,7 @@ void Script::sfMainMode(SCRIPTFUNC_PARAMS) {
// exit the game. Known non-interactive demos are GID_ITE_MACDEMO1 and
// GID_ITE_WINDEMO1
if (_vm->getFeatures() & GF_NON_INTERACTIVE)
- _vm->shutDown();
+ _vm->quitGame();
}
// Script function #6 (0x06) blocking
@@ -572,7 +572,7 @@ void Script::sfScriptGotoScene(SCRIPTFUNC_PARAMS) {
}
if (_vm->getGameType() == GType_ITE && sceneNumber < 0) {
- _vm->shutDown();
+ _vm->quitGame();
return;
}