summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-07 08:07:24 +0000
committertron <tron@openttd.org>2005-01-07 08:07:24 +0000
commit3b18fba385773139fe0b01f04cd3c208b64121e0 (patch)
treeb4fdba49b452dabf6f1979d14c819896e4eb5646 /ttd.c
parent725591513d068c96ae3be1bf24af6f8559aef6e9 (diff)
downloadopenttd-3b18fba385773139fe0b01f04cd3c208b64121e0.tar.xz
(svn r1409) Simplify some preprocessor magic
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ttd.c b/ttd.c
index 61680c112..6822f1637 100644
--- a/ttd.c
+++ b/ttd.c
@@ -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;