src/station_map.h
changeset 6156 5adeec1679a4
parent 6087 b56c54f79335
child 6204 c237d8081b58
--- a/src/station_map.h	Fri Feb 02 06:42:55 2007 +0000
+++ b/src/station_map.h	Fri Feb 02 07:48:06 2007 +0000
@@ -162,14 +162,14 @@
 	return IS_BYTE_INSIDE(GetStationGfx(t), GFX_DOCK_BASE, GFX_DOCK_BASE + DOCK_SIZE_TOTAL);
 }
 
-static inline bool IsBuoy_(TileIndex t) // XXX _ due to naming conflict
+static inline bool IsBuoy(TileIndex t)
 {
 	return GetStationGfx(t) == GFX_BUOY_BASE;
 }
 
 static inline bool IsBuoyTile(TileIndex t)
 {
-	return IsTileType(t, MP_STATION) && IsBuoy_(t);
+	return IsTileType(t, MP_STATION) && IsBuoy(t);
 }
 
 
@@ -221,7 +221,7 @@
 	};
 	assert(IsTileType(t, MP_STATION));
 
-	if (IsBuoy_(t)) return buoy_offset;
+	if (IsBuoy(t)) return buoy_offset;
 	if (IsOilRig(t)) return oilrig_offset;
 
 	assert(IsDock(t));