# HG changeset patch # User rubidium # Date 1282228001 0 # Node ID 17cb2ee71a8413cb7054ab848c48da50ae9d9b64 # Parent 4904a2bf38641bf83e2a9e3cccecb449a6d8ab13 (svn r20561) -Fix: compiler warning diff --git a/src/water_map.h b/src/water_map.h --- a/src/water_map.h +++ b/src/water_map.h @@ -202,7 +202,7 @@ * @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);