summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/ttd.c b/ttd.c
index 574756ee6..7443b5336 100644
--- a/ttd.c
+++ b/ttd.c
@@ -496,8 +496,15 @@ void LoadIntroGame()
// Generate a world.
sprintf(filename, "%sopntitle.dat", _path.data_dir);
if (SaveOrLoad(filename, SL_LOAD) != SL_OK)
- GenerateWorld(1); // if failed loading, make empty world.
-
+#if defined SECOND_DATA_DIR
+ {
+ sprintf(filename, "%sopntitle.dat", _path.second_data_dir);
+ if (SaveOrLoad(filename, SL_LOAD) != SL_OK)
+#endif
+ GenerateWorld(1); // if failed loading, make empty world.
+#if defined SECOND_DATA_DIR
+ }
+#endif
_opt.currency = _new_opt.currency;
_pause = 0;