summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-19 14:26:41 +0000
committerrubidium <rubidium@openttd.org>2010-08-19 14:26:41 +0000
commit1fe3ce9993fbb54dcb87eb1e6487cd2a2d049bbf (patch)
tree7edcbc11e5bccdb1a4e9e6deb09db4b35c424041 /src
parent55c1af9fb12ed64284c5ab7723c22ccbd3087617 (diff)
downloadopenttd-1fe3ce9993fbb54dcb87eb1e6487cd2a2d049bbf.tar.xz
(svn r20561) -Fix: compiler warning
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);