water_cmd.c
changeset 3418 a592d40a4d04
parent 3402 0b72e324d300
child 3422 12cdb13ddb56
--- a/water_cmd.c	Sun Apr 02 12:41:01 2006 +0000
+++ b/water_cmd.c	Sun Apr 02 12:49:18 2006 +0000
@@ -446,9 +446,9 @@
 	return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
 }
 
-static uint GetSlopeTileh_Water(const TileInfo *ti)
+static uint GetSlopeTileh_Water(TileIndex tile, uint tileh)
 {
-	return ti->tileh;
+	return tileh;
 }
 
 static void GetAcceptedCargo_Water(TileIndex tile, AcceptedCargo ac)