(svn r20561) -Fix: compiler warning

This commit is contained in:
rubidium 2010-08-19 14:26:41 +00:00
parent 55c1af9fb1
commit 1fe3ce9993
1 changed files with 1 additions and 1 deletions

View File

@ -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);