PEGASUS: Start the demo off!

Only the jump-in video is currently shown though. For some reason, the input is disabled...
This commit is contained in:
Matthew Hoops 2011-09-28 21:07:51 -04:00
parent 03739c66aa
commit 16a25cd7fd

View File

@ -575,7 +575,13 @@ void PegasusEngine::doGameMenuCommand(const tGameMenuCommand command) {
switch (command) { switch (command) {
case kMenuCmdStartAdventure: case kMenuCmdStartAdventure:
GameState.setWalkthroughMode(false); GameState.setWalkthroughMode(false);
error("Start new game (adventure mode)");
// Only start the game in the demo for now
// (until it works and I implement Caldoria)
if (isDemo())
startNewGame();
else
error("Start new game (adventure mode)");
break; break;
case kMenuCmdCredits: case kMenuCmdCredits:
if (isDemo()) { if (isDemo()) {