# HG changeset patch # User rubidium # Date 2010-08-19 14:26:41 # Node ID 3237cbc42f75b68bbd97837811e743677f7ab89f # Parent 8a54d08e3107e737114da3ced72cdbcf284d914d (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 @@ static inline DiagDirection GetShipDepot * @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);