diff options
author | rubidium <rubidium@openttd.org> | 2009-03-30 08:59:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-30 08:59:26 +0000 |
commit | 14f52cf29e5beb45c4cf1ae24f9a668e21443f74 (patch) | |
tree | b7667220549ef22553c0da9e798412b94c591fbc /src | |
parent | 66cd5dbc7c9b64554e1e32b35f2a1b0173608553 (diff) | |
download | openttd-14f52cf29e5beb45c4cf1ae24f9a668e21443f74.tar.xz |
(svn r15895) -Fix (r15685): fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow
Diffstat (limited to 'src')
-rw-r--r-- | src/landscape.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp index bd5feeaea..e599203c5 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -815,8 +815,6 @@ static void GenerateTerrain(int type, uint flag) } while (--w != 0); break; } - - FixSlopes(); } @@ -930,6 +928,7 @@ void GenerateLandscape(byte mode) } } + FixSlopes(); ConvertGroundTilesIntoWaterTiles(); if (_settings_game.game_creation.landscape == LT_TROPIC) CreateDesertOrRainForest(); |