From bf959f926ff6dee99a15d91652256169a6484042 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Sat, 24 Nov 2007 10:38:43 +0000 Subject: (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style --- src/unmovable_map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/unmovable_map.h') 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); } /** -- cgit v1.2.3-70-g09d2