Changeset - r14180:9374aa303cde
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2010-01-06 09:08:43
yexo@openttd.org
(svn r18739) -Fix (r18719): building trees on snow with rocks underneed caused an assert
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/tree_cmd.cpp
Show inline comments
 
@@ -382,7 +382,7 @@ CommandCost CmdPlantTree(TileIndex tile,
 

	
 
				if (IsTileType(tile, MP_CLEAR)) {
 
					/* Remove fields or rocks. Note that the ground will get barrened */
 
					switch (GetClearGround(tile)) {
 
					switch (GetRawClearGround(tile)) {
 
						case CLEAR_FIELDS:
 
						case CLEAR_ROCKS: {
 
							CommandCost ret = DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
0 comments (0 inline, 0 general)