summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/water_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_map.h b/src/water_map.h
index 83c3a055f..a7f685270 100644
--- a/src/water_map.h
+++ b/src/water_map.h
@@ -202,7 +202,7 @@ static inline DiagDirection GetShipDepotDirection(TileIndex t)
* @param tile One of the tiles of the ship depot.
* @return The northern tile of the depot.
*/
-static TileIndex GetShipDepotNorthTile(TileIndex t)
+static inline TileIndex GetShipDepotNorthTile(TileIndex t)
{
assert(IsShipDepot(t));
TileIndex tile2 = GetOtherShipDepotTile(t);