mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r14404) -Change [FS#2176]: don't make the town flatten land unconditionally when build on slopes is turned on. Based on a patch by Eddi.
This commit is contained in:
parent
436011dda3
commit
257f7a229b
|
@ -1022,7 +1022,7 @@ static void GrowTownInTile(TileIndex *tile_ptr, RoadBits cur_rb, DiagDirection t
|
|||
_grow_town_result = GROWTH_SEARCH_STOPPED;
|
||||
|
||||
/* Remove hills etc */
|
||||
LevelTownLand(tile);
|
||||
if (!_settings_game.construction.build_on_slopes || Chance16(1, 6)) LevelTownLand(tile);
|
||||
|
||||
/* Is a road allowed here? */
|
||||
switch (t1->GetActiveLayout()) {
|
||||
|
|
Loading…
Reference in New Issue