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, 2 insertions, 2 deletions
diff --git a/clear_cmd.c b/clear_cmd.c
index a680f398a..3a8b69f91 100644
--- a/clear_cmd.c
+++ b/clear_cmd.c
@@ -460,8 +460,8 @@ void DrawClearLandFence(const TileInfo *ti)
byte z = ti->z;
if (ti->tileh & SLOPE_S) {
- z += 8;
- if (ti->tileh == SLOPE_STEEP_S) z += 8;
+ z += TILE_HEIGHT;
+ if (ti->tileh == SLOPE_STEEP_S) z += TILE_HEIGHT;
}
if (GetFenceSW(ti->tile) != 0) {