(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user