1
0
Fork 0

(svn r1409) Simplify some preprocessor magic

release/0.4.5
tron 2005-01-07 08:07:24 +00:00
parent a3c0e81230
commit a6ba0d3fbe
1 changed files with 2 additions and 5 deletions

7
ttd.c
View File

@ -527,16 +527,13 @@ void LoadIntroGame()
// Generate a world.
sprintf(filename, "%sopntitle.dat", _path.data_dir);
if (SaveOrLoad(filename, SL_LOAD) != SL_OK)
if (SaveOrLoad(filename, SL_LOAD) != SL_OK) {
#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;