diff options
author | rubidium <rubidium@openttd.org> | 2008-09-26 19:11:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-26 19:11:15 +0000 |
commit | 257f7a229bc96b491ae283b9ef7cee802bff04d2 (patch) | |
tree | a32faddbb8d7e789b5dfd3bcc007b5e3131bcf49 /src | |
parent | 436011dda3717f990f84cc4dd18790efd7dae367 (diff) | |
download | openttd-257f7a229bc96b491ae283b9ef7cee802bff04d2.tar.xz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 8b03aa9f4..b68f9cf70 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()) { |