Allow tile height to also play a part in determining the density of rocky patches.
This commit is contained in:
@@ -365,9 +365,9 @@ void GenerateClearTile()
|
||||
|
||||
IncreaseGeneratingWorldProgress(GWP_ROUGH_ROCKY);
|
||||
if (IsTileType(tile, MP_CLEAR) && !IsClearGround(tile, CLEAR_DESERT)) {
|
||||
uint j = GB(r, 16, 4) + _settings_game.game_creation.amount_of_rocks;
|
||||
uint j = GB(r, 16, 4) + _settings_game.game_creation.amount_of_rocks + ((int)TileHeight(tile) * _settings_game.game_creation.height_affects_rocks);
|
||||
for (;;) {
|
||||
TileIndex tile_new;
|
||||
TileIndex tile_new;
|
||||
|
||||
SetClearGroundDensity(tile, CLEAR_ROCKS, 3);
|
||||
do {
|
||||
|
Reference in New Issue
Block a user