From 257f7a229bc96b491ae283b9ef7cee802bff04d2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 26 Sep 2008 19:11:15 +0000 Subject: [PATCH] (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. --- src/town_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 8b03aa9f4f..b68f9cf707 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -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()) {