(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:
rubidium 2008-09-26 19:11:15 +00:00
parent 5fd49a8cd2
commit 8fe7d9f217

View File

@ -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()) {