diff options
author | rubidium <rubidium@openttd.org> | 2009-02-08 23:06:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-08 23:06:56 +0000 |
commit | 7b8c13fa5c7cdaac1342fd7c8244721739e2354c (patch) | |
tree | 8461f8892707a973f4dd6f358fd72e40c03524c8 /src/genworld.cpp | |
parent | ebd72fa0fd4785437e80a0820ce1acdb3829e09a (diff) | |
download | openttd-7b8c13fa5c7cdaac1342fd7c8244721739e2354c.tar.xz |
(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings.
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r-- | src/genworld.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp index d1955f27d..07f98fa58 100644 --- a/src/genworld.cpp +++ b/src/genworld.cpp @@ -284,13 +284,13 @@ void GenerateWorld(GenerateWorldMode mode, uint size_x, uint size_y) /* Set the date before loading sprites as some newgrfs check it */ SetDate(ConvertYMDToDate(_settings_game.game_creation.starting_year, 0, 1)); + InitializeGame(_gw.size_x, _gw.size_y, false); + PrepareGenerateWorldProgress(); + /* Load the right landscape stuff */ GfxLoadSprites(); LoadStringWidthTable(); - InitializeGame(_gw.size_x, _gw.size_y, false); - PrepareGenerateWorldProgress(); - /* Re-init the windowing system */ ResetWindowSystem(); |