diff options
-rw-r--r-- | src/terraform_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terraform_cmd.cpp b/src/terraform_cmd.cpp index cc71f786a..aa79ac993 100644 --- a/src/terraform_cmd.cpp +++ b/src/terraform_cmd.cpp @@ -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); |