summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'water_cmd.c')
-rw-r--r--water_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/water_cmd.c b/water_cmd.c
index d9dfbb550..918fd9c1c 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -14,7 +14,7 @@ bool IsShipDepotTile(TileIndex tile)
return IS_TILETYPE(tile, MP_WATER) && (_map5[tile]&~3) == 0x80;
}
-bool IsClearWaterTile(uint tile)
+static bool IsClearWaterTile(uint tile)
{
TileInfo ti;
FindLandscapeHeightByTile(&ti, tile);
@@ -440,12 +440,12 @@ void DrawShipDepotSprite(int x, int y, int image)
}
-uint GetSlopeZ_Water(TileInfo *ti)
+static uint GetSlopeZ_Water(TileInfo *ti)
{
return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z;
}
-uint GetSlopeTileh_Water(TileInfo *ti)
+static uint GetSlopeTileh_Water(TileInfo *ti)
{
return ti->tileh;
}