aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-28 21:07:51 -0400
committerMatthew Hoops2011-09-28 21:07:51 -0400
commit16a25cd7fdc48e192b2a97de8a23dd0e83bc09bc (patch)
tree6fa7413d09d4a78079c065888b4f2e91534d79e4 /engines
parent03739c66aa6c9d3e683b046b23cbd90adea457fa (diff)
downloadscummvm-rg350-16a25cd7fdc48e192b2a97de8a23dd0e83bc09bc.tar.gz
scummvm-rg350-16a25cd7fdc48e192b2a97de8a23dd0e83bc09bc.tar.bz2
scummvm-rg350-16a25cd7fdc48e192b2a97de8a23dd0e83bc09bc.zip
PEGASUS: Start the demo off!
Only the jump-in video is currently shown though. For some reason, the input is disabled...
Diffstat (limited to 'engines')
-rw-r--r--engines/pegasus/pegasus.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp
index a608eae254..ddc13d7a34 100644
--- a/engines/pegasus/pegasus.cpp
+++ b/engines/pegasus/pegasus.cpp
@@ -575,7 +575,13 @@ void PegasusEngine::doGameMenuCommand(const tGameMenuCommand command) {
switch (command) {
case kMenuCmdStartAdventure:
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;
case kMenuCmdCredits:
if (isDemo()) {