From ca120eedad11f826b63bb5505a0f1f61aad740d4 Mon Sep 17 00:00:00 2001 From: dominik Date: Fri, 13 Aug 2004 18:27:33 +0000 Subject: (svn r40) Final slope graphics fix --- town_cmd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'town_cmd.c') 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 */ }; -- cgit v1.2.3-54-g00ecf