diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-24 10:38:43 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-24 10:38:43 +0000 |
commit | bf959f926ff6dee99a15d91652256169a6484042 (patch) | |
tree | 9c936ecbb5e2e4367788a18a55cbf52eb6eb6cc6 /src/unmovable_map.h | |
parent | 64246a2775c56c99746727a02af509fe8d75d53f (diff) | |
download | openttd-bf959f926ff6dee99a15d91652256169a6484042.tar.xz |
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
Diffstat (limited to 'src/unmovable_map.h')
-rw-r--r-- | src/unmovable_map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unmovable_map.h b/src/unmovable_map.h index 0decbf94e..0b3132ce0 100644 --- a/src/unmovable_map.h +++ b/src/unmovable_map.h @@ -21,7 +21,7 @@ enum UnmovableType { UNMOVABLE_HQ_EAST = 0x82, ///< Offset for the eastern HQ tile UNMOVABLE_HQ_SOUTH = 0x83, ///< Offset for the southern HQ tile - /** End of the HQ (rather end + 1 for IS_INT_INSIDE) */ + /** End of the HQ (rather end + 1 for IsInside) */ UNMOVABLE_HQ_END = UNMOVABLE_HQ_NORTH + HQ_NUM_SIZE * HQ_NUM_TILE }; @@ -80,7 +80,7 @@ static inline bool IsOwnedLandTile(TileIndex t) static inline bool IsCompanyHQ(TileIndex t) { assert(IsTileType(t, MP_UNMOVABLE)); - return IS_INT_INSIDE(GetUnmovableType(t), UNMOVABLE_HQ_NORTH, UNMOVABLE_HQ_END); + return IsInsideMM(GetUnmovableType(t), UNMOVABLE_HQ_NORTH, UNMOVABLE_HQ_END); } /** |