(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
This commit is contained in:
@@ -197,7 +197,7 @@ protected:
|
||||
// rail transport is possible only on compatible rail types
|
||||
if (IsRailTT()) {
|
||||
RailType rail_type = GetTileRailType(m_new_tile);
|
||||
if (!HASBIT(m_veh->u.rail.compatible_railtypes, rail_type)) {
|
||||
if (!HasBit(m_veh->u.rail.compatible_railtypes, rail_type)) {
|
||||
// incompatible rail type
|
||||
m_err = EC_RAIL_TYPE;
|
||||
return false;
|
||||
|
@@ -18,7 +18,7 @@ public:
|
||||
|
||||
bool IsCompatibleRailType(RailType rt)
|
||||
{
|
||||
return HASBIT(m_compatible_railtypes, rt);
|
||||
return HasBit(m_compatible_railtypes, rt);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user