summaryrefslogtreecommitdiff
path: root/clear_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'clear_cmd.c')
-rw-r--r--clear_cmd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/clear_cmd.c b/clear_cmd.c
index bc6c89e84..110750041 100644
--- a/clear_cmd.c
+++ b/clear_cmd.c
@@ -303,9 +303,7 @@ int32 CmdTerraformLand(int x, int y, uint32 flags, uint32 p1, uint32 p2)
for(count = ts.modheight_count; count != 0; count--, mod++) {
til = mod->tile;
- // Change tile height
- _map_type_and_height[til] = (_map_type_and_height[til]&~0x0F)|mod->height;
-
+ SetTileHeight(til, mod->height);
TerraformAddDirtyTileAround(&ts, til);
}
}