summaryrefslogtreecommitdiff
path: root/src/rail.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
commit71c4325c50ae594a5adf01cac7c9e527b239cdcb (patch)
tree21212e0b25777aac62f30d88b981e2bd624c4616 /src/rail.h
parent58bb5c752568f8f9a1cb4d9533268d0ecad34e12 (diff)
downloadopenttd-71c4325c50ae594a5adf01cac7c9e527b239cdcb.tar.xz
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h4
1 files changed, 2 insertions, 2 deletions
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);
}
/**