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
commita6ba0d3fbeb07c60068ecf40f45a52aa4615e4af (patch)
treeb4fdba49b452dabf6f1979d14c819896e4eb5646 /ttd.c
parenta3c0e81230596fb23d0ff412641579b8964b0371 (diff)
downloadopenttd-a6ba0d3fbeb07c60068ecf40f45a52aa4615e4af.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;