summaryrefslogtreecommitdiff
path: root/src/station_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/station_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/station_map.h')
-rw-r--r--src/station_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_map.h b/src/station_map.h
index 05d3abcba..4c72d1dad 100644
--- a/src/station_map.h
+++ b/src/station_map.h
@@ -116,7 +116,7 @@ static inline bool IsDriveThroughStopTile(TileIndex t)
static inline bool GetStopBuiltOnTownRoad(TileIndex t)
{
assert(IsDriveThroughStopTile(t));
- return HASBIT(_m[t].m6, 2);
+ return HasBit(_m[t].m6, 2);
}
@@ -173,7 +173,7 @@ static inline bool IsHangarTile(TileIndex t)
static inline Axis GetRailStationAxis(TileIndex t)
{
assert(IsRailwayStation(t));
- return HASBIT(GetStationGfx(t), 0) ? AXIS_Y : AXIS_X;
+ return HasBit(GetStationGfx(t), 0) ? AXIS_Y : AXIS_X;
}