summaryrefslogtreecommitdiff
path: root/src/unmovable_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unmovable_map.h')
-rw-r--r--src/unmovable_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_map.h b/src/unmovable_map.h
index 8c2b55d09..c814096d0 100644
--- a/src/unmovable_map.h
+++ b/src/unmovable_map.h
@@ -83,7 +83,7 @@ static inline bool IsOwnedLandTile(TileIndex t)
static inline bool IsCompanyHQ(TileIndex t)
{
assert(IsTileType(t, MP_UNMOVABLE));
- return IsInsideMM(GetUnmovableType(t), UNMOVABLE_HQ_NORTH, UNMOVABLE_HQ_END);
+ return HasBit(_m[t].m5, 7);
}
/**