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 | a6ba0d3fbeb07c60068ecf40f45a52aa4615e4af (patch) | |
tree | b4fdba49b452dabf6f1979d14c819896e4eb5646 | |
parent | a3c0e81230596fb23d0ff412641579b8964b0371 (diff) | |
download | openttd-a6ba0d3fbeb07c60068ecf40f45a52aa4615e4af.tar.xz |
(svn r1409) Simplify some preprocessor magic
-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; |