Changeset - r10804:1a26a492827e
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-01-18 16:26:59
rubidium@openttd.org
(svn r15138) -Fix [FS#2542]: tile error location not reset when leveling land causing a tile to be highlighted when there was nothing to flatten.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/terraform_cmd.cpp
Show inline comments
 
@@ -351,6 +351,8 @@ CommandCost CmdLevelLand(TileIndex tile,
 
{
 
	if (p1 >= MapSize()) return CMD_ERROR;
 

	
 
	_terraform_err_tile = INVALID_TILE;
 

	
 
	/* remember level height */
 
	uint oldh = TileHeight(p1);
 

	
0 comments (0 inline, 0 general)