From 1fe3ce9993fbb54dcb87eb1e6487cd2a2d049bbf Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 19 Aug 2010 14:26:41 +0000 Subject: [PATCH] (svn r20561) -Fix: compiler warning --- src/water_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/water_map.h b/src/water_map.h index 83c3a055f4..a7f685270a 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);