changeset 15879:17cb2ee71a84 draft

(svn r20561) -Fix: compiler warning
author rubidium <rubidium@openttd.org>
date Thu, 19 Aug 2010 14:26:41 +0000
parents 4904a2bf3864
children 383c02988b9d
files src/water_map.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);