summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/town_cmd.c b/town_cmd.c
index e889022e1..e68fd9dd2 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -103,6 +103,11 @@ static uint GetSlopeZ_Town(TileInfo *ti)
return (uint16) z;
}
+static uint GetSlopeTileh_Town(TileInfo *ti)
+{
+ return ti->tileh;
+}
+
static void AnimateTile_Town(uint tile)
{
int old;
@@ -1772,6 +1777,7 @@ const TileTypeProcs _tile_type_town_procs = {
NULL, /* get_produced_cargo_proc */
NULL, /* vehicle_enter_tile_proc */
NULL, /* vehicle_leave_tile_proc */
+ GetSlopeTileh_Town, /* get_slope_tileh_proc */
};