src/water_map.h
changeset 10226 618f29a7350b
parent 10213 23cfd330ccac
child 10429 1b99254f9607
--- a/src/water_map.h	Thu Apr 17 21:21:01 2008 +0000
+++ b/src/water_map.h	Fri Apr 18 01:35:17 2008 +0000
@@ -91,12 +91,12 @@
 	return t + (HasBit(_m[t].m5, 0) ? -1 : 1) * (HasBit(_m[t].m5, 1) ? TileDiffXY(0, 1) : TileDiffXY(1, 0));
 }
 
-static inline TileIndex IsShipDepot(TileIndex t)
+static inline bool IsShipDepot(TileIndex t)
 {
 	return IsInsideMM(_m[t].m5, DEPOT_NORTH, DEPOT_END);
 }
 
-static inline TileIndex IsShipDepotTile(TileIndex t)
+static inline bool IsShipDepotTile(TileIndex t)
 {
 	return IsTileType(t, MP_WATER) && IsShipDepot(t);
 }