diff options
author | camthesaxman <cameronghall@cox.net> | 2017-11-26 17:06:07 -0600 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2017-11-26 17:06:07 -0600 |
commit | 6f0feb7ca09511df0a1d13c99a1ec5c9a46ed06b (patch) | |
tree | f2d0d052e517765fa3002da50d187b1fd48278c1 /include | |
parent | 611984671904aa19cf678c59ff2a8682cba09224 (diff) |
don't require MAP_ prefix on MAP_GROUP and MAP_NUM macros
Diffstat (limited to 'include')
-rw-r--r-- | include/constants/maps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/constants/maps.h b/include/constants/maps.h index 5018eb796..2fe255707 100644 --- a/include/constants/maps.h +++ b/include/constants/maps.h @@ -464,7 +464,7 @@ #define MAP_ROUTE124_DIVING_TREASURE_HUNTERS_HOUSE (0 | (33 << 8)) -#define MAP_GROUP(map) (map >> 8) -#define MAP_NUM(map) (map & 0xFF) +#define MAP_GROUP(map) (MAP_##map >> 8) +#define MAP_NUM(map) (MAP_##map & 0xFF) #endif // GUARD_CONSTANTS_MAPS_H |