water_cmd.c
changeset 39 d177340ed556
parent 0 29654efe3188
child 43 3b93861c5478
--- a/water_cmd.c	Fri Aug 13 17:41:44 2004 +0000
+++ b/water_cmd.c	Fri Aug 13 18:27:33 2004 +0000
@@ -441,6 +441,11 @@
 	return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z;
 }
 
+uint GetSlopeTileh_Water(TileInfo *ti)
+{ 
+	return ti->tileh;
+}
+
 static void GetAcceptedCargo_Water(uint tile, AcceptedCargo *ac)
 {
 	/* not used */
@@ -608,5 +613,6 @@
 	NULL,											/* get_produced_cargo_proc */
 	VehicleEnter_Water,				/* vehicle_enter_tile_proc */
 	NULL,											/* vehicle_leave_tile_proc */
+	GetSlopeTileh_Water,			/* get_slope_tileh_proc */
 };