town_cmd.c
changeset 39 d177340ed556
parent 4 cad62d5f9708
child 121 c2f18f4d8be1
--- a/town_cmd.c	Fri Aug 13 17:41:44 2004 +0000
+++ b/town_cmd.c	Fri Aug 13 18:27:33 2004 +0000
@@ -103,6 +103,11 @@
 	return (uint16) z;	
 }
 
+static uint GetSlopeTileh_Town(TileInfo *ti)
+{
+	return ti->tileh;
+}
+
 static void AnimateTile_Town(uint tile)
 {
 	int old;
@@ -1772,6 +1777,7 @@
 	NULL,											/* get_produced_cargo_proc */
 	NULL,											/* vehicle_enter_tile_proc */
 	NULL,											/* vehicle_leave_tile_proc */
+	GetSlopeTileh_Town,				/* get_slope_tileh_proc */
 };