From ad4cb49e3b1eb8966e7a400ead1f08ac379bf137 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 2 May 2009 05:18:09 +0000 Subject: Fix the ending of CD demo. svn-id: r40233 --- engines/sky/logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp index 20b82feafd..ccfbfbbd62 100644 --- a/engines/sky/logic.cpp +++ b/engines/sky/logic.cpp @@ -2309,7 +2309,7 @@ bool Logic::fnEyeball(uint32 id, uint32 b, uint32 c) { bool Logic::fnLeaveSection(uint32 sectionNo, uint32 b, uint32 c) { if (SkyEngine::isDemo()) - _skyControl->showGameQuitMsg(); + Engine::quitGame(); if (sectionNo == 5) //linc section - has different mouse icons _skyMouse->replaceMouseCursors(60301); -- cgit v1.2.3