summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/road_cmd.c b/road_cmd.c
index b4bf40578..b94d58d3e 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -831,12 +831,12 @@ static uint GetSlopeZ_Road(const TileInfo* ti)
uint f = GetRoadFoundation(tileh, GetRoadBits(ti->tile));
if (f != 0) {
- if (f < 15) return z + 8; // leveled foundation
+ if (f < 15) return z + TILE_HEIGHT; // leveled foundation
tileh = _inclined_tileh[f - 15]; // inclined foundation
}
return z + GetPartialZ(ti->x & 0xF, ti->y & 0xF, tileh);
} else {
- return z + 8;
+ return z + TILE_HEIGHT;
}
}