From c0a2c0c23e129cb81400c5204fc9d0eedd9afb85 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Mon, 19 Nov 2007 21:02:30 +0000 Subject: (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style --- src/water_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/water_map.h') diff --git a/src/water_map.h b/src/water_map.h index b1c8f4c16..fe1aab9e5 100644 --- a/src/water_map.h +++ b/src/water_map.h @@ -67,7 +67,7 @@ static inline bool IsWaterTile(TileIndex t) static inline TileIndex GetOtherShipDepotTile(TileIndex t) { - return t + (HASBIT(_m[t].m5, 0) ? -1 : 1) * (HASBIT(_m[t].m5, 1) ? TileDiffXY(0, 1) : TileDiffXY(1, 0)); + 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) -- cgit v1.2.3-54-g00ecf