diff options
author | Matthew Hoops | 2012-11-17 23:16:43 -0500 |
---|---|---|
committer | Matthew Hoops | 2012-11-17 23:16:43 -0500 |
commit | 4e8dca1c277028ca6c96897ade764f097a39de66 (patch) | |
tree | 5d48bba9d818b56e2358df1d8486cfc93287f978 /engines | |
parent | c056aea4006a207b80c622668cc51375b3b6921e (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/pegasus/pegasus.cpp | 3 |
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(); |