Skip to content

Commit

Permalink
PEGASUS: Show the demo quit/splash screens
Browse files Browse the repository at this point in the history
They work now with all the PICT changes ;)
  • Loading branch information
Matthew Hoops committed Sep 26, 2011
1 parent 8897c17 commit 515b250
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/pegasus/pegasus.cpp
Expand Up @@ -520,6 +520,8 @@ void PegasusEngine::receiveNotification(Notification *notification, const tNotif
#else
if (!isDemo())
runIntro();
else
showTempScreen("Images/Demo/NGsplashScrn.pict");

if (shouldQuit())
return;
Expand Down Expand Up @@ -606,6 +608,8 @@ void PegasusEngine::doGameMenuCommand(const tGameMenuCommand command) {
}
break;
case kMenuCmdQuit:
if (isDemo())
showTempScreen("Images/Demo/NGquitScrn.pict");
_system->quit();
break;
case kMenuCmdOverview:
Expand Down

0 comments on commit 515b250

Please sign in to comment.