1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 20:24:12 +01:00

Change: Scale towns/industries by amount of land tiles. (#10063)

This commit is contained in:
Peter Nelson
2025-10-24 21:32:09 +01:00
committed by GitHub
parent 70bf84175f
commit a1920fc225
8 changed files with 115 additions and 43 deletions

View File

@@ -139,11 +139,13 @@ static void _GenerateWorld()
if (_game_mode != GM_MENU) FlatEmptyWorld(_settings_game.game_creation.se_flat_world_height);
ConvertGroundTilesIntoWaterTiles();
Map::CountLandTiles();
IncreaseGeneratingWorldProgress(GWP_OBJECT);
_settings_game.game_creation.snow_line_height = DEF_SNOWLINE_HEIGHT;
} else {
GenerateClearTile();
Map::CountLandTiles();
/* Only generate towns, tree and industries in newgame mode. */
if (_game_mode != GM_EDITOR) {