summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-13 18:27:33 +0000
committerdominik <dominik@openttd.org>2004-08-13 18:27:33 +0000
commitca120eedad11f826b63bb5505a0f1f61aad740d4 (patch)
tree5791137b0f2b6552ea4bc03afa5cadaf28cf52de /town_cmd.c
parentecb6f670b0dc4b522fd712657db125162689cf4f (diff)
downloadopenttd-ca120eedad11f826b63bb5505a0f1f61aad740d4.tar.xz
(svn r40) Final slope graphics fix
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 */
};