From bbf1de48d520c70e2b534aa595238b1eac160b1c Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Sun, 10 Oct 2004 17:12:50 +0000 Subject: make queen engine returning to the launcher when finished (next step: plug all the memory leaks, mainly in Logic class) svn-id: r15511 --- queen/logic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'queen/logic.cpp') 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) { -- cgit v1.2.3