aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/myst_scripts.cpp2
-rw-r--r--engines/mohawk/myst_stacks/credits.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index 42037690c0..6ead1a72a4 100644
--- a/engines/mohawk/myst_scripts.cpp
+++ b/engines/mohawk/myst_scripts.cpp
@@ -910,7 +910,7 @@ void MystScriptParser::o_soundWaitStop(uint16 op, uint16 var, uint16 argc, uint1
}
void MystScriptParser::o_quit(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
- _vm->_system->quit();
+ _vm->quitGame();
}
} // End of namespace Mohawk
diff --git a/engines/mohawk/myst_stacks/credits.cpp b/engines/mohawk/myst_stacks/credits.cpp
index df2a1c08cc..6c0b2c2951 100644
--- a/engines/mohawk/myst_stacks/credits.cpp
+++ b/engines/mohawk/myst_stacks/credits.cpp
@@ -68,7 +68,7 @@ void MystScriptParser_Credits::runPersistentScripts() {
// After the 6th image has shown, it's time to quit
if (_curImage == 7)
- _vm->_system->quit();
+ _vm->quitGame();
// Draw next image
_vm->drawCardBackground();