summaryrefslogtreecommitdiff
path: root/src/landscape.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-30 08:59:26 +0000
committerrubidium <rubidium@openttd.org>2009-03-30 08:59:26 +0000
commit14f52cf29e5beb45c4cf1ae24f9a668e21443f74 (patch)
treeb7667220549ef22553c0da9e798412b94c591fbc /src/landscape.cpp
parent66cd5dbc7c9b64554e1e32b35f2a1b0173608553 (diff)
downloadopenttd-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/landscape.cpp')
-rw-r--r--src/landscape.cpp3
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();