From 4e8dca1c277028ca6c96897ade764f097a39de66 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sat, 17 Nov 2012 23:16:43 -0500 Subject: PEGASUS: Fade out the main menu when using the quit button --- engines/pegasus/pegasus.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/pegasus') diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index 420ca39331..4bd2b27f9b 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -818,7 +818,8 @@ void PegasusEngine::doGameMenuCommand(const GameMenuCommand command) { case kMenuCmdDeathQuitDemo: if (isDemo()) showTempScreen("Images/Demo/NGquitScrn.pict"); - _system->quit(); + _gfx->doFadeOutSync(); + quitGame(); break; case kMenuCmdOverview: stopIntroTimer(); -- cgit v1.2.3