Changeset - r11161:cf2c52cfef47
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2009-02-17 20:33:13
yexo@openttd.org
(svn r15511) -Fix [FS#2641] (r15190): Generating a map with the original map generator with freeform edges on resulted in an assert.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/landscape.cpp
Show inline comments
 
@@ -856,6 +856,10 @@ void GenerateLandscape(byte mode)
 
		SetGeneratingWorldProgress(GWP_LANDSCAPE, (_settings_game.game_creation.landscape == LT_TROPIC) ? 3 + gwp_desert_amount : 3);
 
		GenerateTerrainPerlin();
 
	} else {
 
		if (_settings_game.construction.freeform_edges) {
 
			for (uint x = 0; x < MapSizeX(); x++) MakeVoid(TileXY(x, 0));
 
			for (uint y = 0; y < MapSizeY(); y++) MakeVoid(TileXY(0, y));
 
		}
 
		switch (_settings_game.game_creation.landscape) {
 
			case LT_ARCTIC: {
 
				SetGeneratingWorldProgress(GWP_LANDSCAPE, 2);
0 comments (0 inline, 0 general)