mirror of https://github.com/OpenTTD/OpenTTD
(svn r15895) -Fix (r15685): fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow
parent
66cd5dbc7c
commit
14f52cf29e
|
@ -815,8 +815,6 @@ static void GenerateTerrain(int type, uint flag)
|
||||||
} while (--w != 0);
|
} while (--w != 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
FixSlopes();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -930,6 +928,7 @@ void GenerateLandscape(byte mode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FixSlopes();
|
||||||
ConvertGroundTilesIntoWaterTiles();
|
ConvertGroundTilesIntoWaterTiles();
|
||||||
|
|
||||||
if (_settings_game.game_creation.landscape == LT_TROPIC) CreateDesertOrRainForest();
|
if (_settings_game.game_creation.landscape == LT_TROPIC) CreateDesertOrRainForest();
|
||||||
|
|
Loading…
Reference in New Issue