diff options
author | tron <tron@openttd.org> | 2005-01-07 08:07:24 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-07 08:07:24 +0000 |
commit | 3b18fba385773139fe0b01f04cd3c208b64121e0 (patch) | |
tree | b4fdba49b452dabf6f1979d14c819896e4eb5646 /ttd.c | |
parent | 725591513d068c96ae3be1bf24af6f8559aef6e9 (diff) | |
download | openttd-3b18fba385773139fe0b01f04cd3c208b64121e0.tar.xz |
(svn r1409) Simplify some preprocessor magic
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; |