diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/hdb.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 68f505b931..1eaa102927 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -925,7 +925,7 @@ Common::Error HDBGame::run() { #endif if (ConfMan.hasKey("boot_param")) { - char mapname[11]; + char mapname[20]; int arg = ConfMan.getInt("boot_param"); int actionMode = MIN(arg / 100, 1); int level = MIN(arg % 100, 31); @@ -937,6 +937,9 @@ Common::Error HDBGame::run() { else strcpy(mapname, "CINE_OUTRO"); + if (isDemo()) + strncat(mapname, "_DEMO", 20); + debug("Starting level %s in %s", mapname, getActionMode() ? "Action Mode" : "Puzzle Mode"); _ai->clearPersistent(); |