diff options
author | bjarni <bjarni@openttd.org> | 2004-12-07 17:16:57 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2004-12-07 17:16:57 +0000 |
commit | 051134ac9f88ec88bfd7bbd1bc209ccd42dffbcc (patch) | |
tree | 44291cabe320182bb12c67a353076ac2f256f475 /ttd.c | |
parent | a3a2f0617c0eebe63980b2057214fb4e9f76c41d (diff) | |
download | openttd-051134ac9f88ec88bfd7bbd1bc209ccd42dffbcc.tar.xz |
(svn r970) Added 2nd data path for all non-windows OSes
added completely customizable lang path (all non-Windows OSes)
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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; |