diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 21:02:30 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 21:02:30 +0000 |
commit | 71c4325c50ae594a5adf01cac7c9e527b239cdcb (patch) | |
tree | 21212e0b25777aac62f30d88b981e2bd624c4616 /src/tunnel_map.h | |
parent | 58bb5c752568f8f9a1cb4d9533268d0ecad34e12 (diff) | |
download | openttd-71c4325c50ae594a5adf01cac7c9e527b239cdcb.tar.xz |
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Diffstat (limited to 'src/tunnel_map.h')
-rw-r--r-- | src/tunnel_map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnel_map.h b/src/tunnel_map.h index 8396ae2c9..e4092cf15 100644 --- a/src/tunnel_map.h +++ b/src/tunnel_map.h @@ -20,7 +20,7 @@ static inline bool IsTunnel(TileIndex t) { assert(IsTileType(t, MP_TUNNELBRIDGE)); - return !HASBIT(_m[t].m5, 7); + return !HasBit(_m[t].m5, 7); } @@ -67,7 +67,7 @@ static inline TransportType GetTunnelTransportType(TileIndex t) static inline bool HasTunnelSnowOrDesert(TileIndex t) { assert(IsTunnelTile(t)); - return HASBIT(_m[t].m4, 7); + return HasBit(_m[t].m4, 7); } /** |