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/rail.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rail.h') diff --git a/src/rail.h b/src/rail.h index 00adf6183..4503b0a94 100644 --- a/src/rail.h +++ b/src/rail.h @@ -759,7 +759,7 @@ static inline const RailtypeInfo *GetRailTypeInfo(RailType railtype) */ static inline bool IsCompatibleRail(RailType enginetype, RailType tiletype) { - return HASBIT(GetRailTypeInfo(enginetype)->compatible_railtypes, tiletype); + return HasBit(GetRailTypeInfo(enginetype)->compatible_railtypes, tiletype); } /** @@ -772,7 +772,7 @@ static inline bool IsCompatibleRail(RailType enginetype, RailType tiletype) */ static inline bool HasPowerOnRail(RailType enginetype, RailType tiletype) { - return HASBIT(GetRailTypeInfo(enginetype)->powered_railtypes, tiletype); + return HasBit(GetRailTypeInfo(enginetype)->powered_railtypes, tiletype); } /** -- cgit v1.2.3-54-g00ecf