mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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
5fd49a8cd2
commit
8fe7d9f217
@ -1022,7 +1022,7 @@ static void GrowTownInTile(TileIndex *tile_ptr, RoadBits cur_rb, DiagDirection t
|
|||||||
_grow_town_result = GROWTH_SEARCH_STOPPED;
|
_grow_town_result = GROWTH_SEARCH_STOPPED;
|
||||||
|
|
||||||
/* Remove hills etc */
|
/* Remove hills etc */
|
||||||
LevelTownLand(tile);
|
if (!_settings_game.construction.build_on_slopes || Chance16(1, 6)) LevelTownLand(tile);
|
||||||
|
|
||||||
/* Is a road allowed here? */
|
/* Is a road allowed here? */
|
||||||
switch (t1->GetActiveLayout()) {
|
switch (t1->GetActiveLayout()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user