summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'water_cmd.c')
-rw-r--r--water_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/water_cmd.c b/water_cmd.c
index 0a0076c1c..a74807fba 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -460,9 +460,9 @@ void DrawShipDepotSprite(int x, int y, int image)
}
-static uint GetSlopeZ_Water(TileInfo *ti)
+static uint GetSlopeZ_Water(const TileInfo* ti)
{
- return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z;
+ return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
}
static uint GetSlopeTileh_Water(const TileInfo *ti)