diff options
author | tron <tron@openttd.org> | 2006-02-18 14:41:24 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-02-18 14:41:24 +0000 |
commit | 49c7eb934be0dc92d640ea3a32c02dddcc83369a (patch) | |
tree | 2b47e6b2c9b73650b42ce6caa2b78f05d91cc03b /openttd.c | |
parent | 6cfefdb2750d9beccb350ea47db9e2edaa61655c (diff) | |
download | openttd-49c7eb934be0dc92d640ea3a32c02dddcc83369a.tar.xz |
(svn r3613) Some more const, indentation, whitespace and similar stuff
Diffstat (limited to 'openttd.c')
-rw-r--r-- | openttd.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -282,12 +282,13 @@ static void LoadIntroGame(void) // Generate a world. sprintf(filename, "%sopntitle.dat", _path.data_dir); - if (SaveOrLoad(filename, SL_LOAD) != SL_OK) { #if defined SECOND_DATA_DIR + if (SaveOrLoad(filename, SL_LOAD) != SL_OK) { sprintf(filename, "%sopntitle.dat", _path.second_data_dir); - if (SaveOrLoad(filename, SL_LOAD) != SL_OK) + } #endif - GenerateWorld(GW_EMPTY, 64, 64); // if failed loading, make empty world. + if (SaveOrLoad(filename, SL_LOAD) != SL_OK) { + GenerateWorld(GW_EMPTY, 64, 64); // if failed loading, make empty world. } _pause = 0; |