aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
authorMatthew Hoops2012-11-17 23:16:43 -0500
committerMatthew Hoops2012-11-17 23:16:43 -0500
commit4e8dca1c277028ca6c96897ade764f097a39de66 (patch)
tree5d48bba9d818b56e2358df1d8486cfc93287f978 /engines/pegasus
parentc056aea4006a207b80c622668cc51375b3b6921e (diff)
downloadscummvm-rg350-4e8dca1c277028ca6c96897ade764f097a39de66.tar.gz
scummvm-rg350-4e8dca1c277028ca6c96897ade764f097a39de66.tar.bz2
scummvm-rg350-4e8dca1c277028ca6c96897ade764f097a39de66.zip
PEGASUS: Fade out the main menu when using the quit button
Diffstat (limited to 'engines/pegasus')
-rw-r--r--engines/pegasus/pegasus.cpp3
1 files changed, 2 insertions, 1 deletions
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();