(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.

pull/155/head
rubidium 16 years ago
parent 9cc64bfa21
commit 55e8be5045

@ -351,6 +351,8 @@ CommandCost CmdLevelLand(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, con
{
if (p1 >= MapSize()) return CMD_ERROR;
_terraform_err_tile = INVALID_TILE;
/* remember level height */
uint oldh = TileHeight(p1);

Loading…
Cancel
Save