summaryrefslogtreecommitdiff
path: root/src/water_map.h
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 21:02:30 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 21:02:30 +0000
commitc0a2c0c23e129cb81400c5204fc9d0eedd9afb85 (patch)
tree21212e0b25777aac62f30d88b981e2bd624c4616 /src/water_map.h
parent7a4d96f629a9bd447846f8569fad78cf8e5196c5 (diff)
downloadopenttd-c0a2c0c23e129cb81400c5204fc9d0eedd9afb85.tar.xz
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Diffstat (limited to 'src/water_map.h')
-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 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)