summaryrefslogtreecommitdiff
path: root/src/town_map.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/town_map.h
parent58bb5c752568f8f9a1cb4d9533268d0ecad34e12 (diff)
downloadopenttd-71c4325c50ae594a5adf01cac7c9e527b239cdcb.tar.xz
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Diffstat (limited to 'src/town_map.h')
-rw-r--r--src/town_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_map.h b/src/town_map.h
index 1230d8f71..71c6dbaa6 100644
--- a/src/town_map.h
+++ b/src/town_map.h
@@ -77,7 +77,7 @@ static inline void SetHouseType(TileIndex t, HouseID house_id)
*/
static inline bool LiftHasDestination(TileIndex t)
{
- return HASBIT(_me[t].m7, 0);
+ return HasBit(_me[t].m7, 0);
}
/**
@@ -166,7 +166,7 @@ static inline void SetHouseAnimationFrame(TileIndex t, byte frame)
static inline bool IsHouseCompleted(TileIndex t)
{
assert(IsTileType(t, MP_HOUSE));
- return HASBIT(_m[t].m3, 7);
+ return HasBit(_m[t].m3, 7);
}
/**