diff options
author | Gregory Montoir | 2004-10-10 17:12:50 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-10-10 17:12:50 +0000 |
commit | bbf1de48d520c70e2b534aa595238b1eac160b1c (patch) | |
tree | d45db9ffa6e65d93f788a02d29db102807a6772f /queen/logic.cpp | |
parent | 09c0855f9ad4631f87f0d5d40ded3e35ae978e38 (diff) | |
download | scummvm-rg350-bbf1de48d520c70e2b534aa595238b1eac160b1c.tar.gz scummvm-rg350-bbf1de48d520c70e2b534aa595238b1eac160b1c.tar.bz2 scummvm-rg350-bbf1de48d520c70e2b534aa595238b1eac160b1c.zip |
make queen engine returning to the launcher when finished (next step: plug all the memory leaks, mainly in Logic class)
svn-id: r15511
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r-- | queen/logic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 95e14a4883..711bb596fd 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -1529,7 +1529,7 @@ void Logic::asmEndGame() { _vm->update(); } debug(0, "Game completed."); - OSystem::instance()->quit(); + _vm->quitGame(); } void Logic::asmPutCameraOnDino() { @@ -1952,7 +1952,7 @@ void Logic::asmPanLeftToBomb() { void Logic::asmEndDemo() { debug(0, "Flight of the Amazon Queen, released January 95."); - OSystem::instance()->quit(); + _vm->quitGame(); } void Logic::asmInterviewIntro() { @@ -1997,7 +1997,7 @@ void Logic::asmInterviewIntro() { void Logic::asmEndInterview() { debug(0, "Interactive Interview copyright (c) 1995, IBI."); - OSystem::instance()->quit(); + _vm->quitGame(); } void Logic::startCredits(const char *filename) { |