Changeset - r10191:e17396c19159
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-09-26 19:11:15
rubidium@openttd.org
(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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -1019,13 +1019,13 @@ static void GrowTownInTile(TileIndex *ti
 
	if (cur_rb == ROAD_NONE) {
 
		/* Tile has no road. First reset the status counter
 
		 * to say that this is the last iteration. */
 
		_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()) {
 
			default: NOT_REACHED();
 

	
 
			case TL_NO_ROADS: /* Disallow Roads */
0 comments (0 inline, 0 general)