[Scummvm-cvs-logs] scummvm master -> 4e8dca1c277028ca6c96897ade764f097a39de66

clone2727 clone2727 at gmail.com
Sun Nov 18 05:18:03 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4e8dca1c27 PEGASUS: Fade out the main menu when using the quit button


Commit: 4e8dca1c277028ca6c96897ade764f097a39de66
    https://github.com/scummvm/scummvm/commit/4e8dca1c277028ca6c96897ade764f097a39de66
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2012-11-17T20:16:43-08:00

Commit Message:
PEGASUS: Fade out the main menu when using the quit button

Changed paths:
    engines/pegasus/pegasus.cpp



diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp
index 420ca39..4bd2b27 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();






More information about the Scummvm-git-logs mailing list