diff options
author | yenatch <yenatch@gmail.com> | 2018-04-18 22:28:50 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2018-04-18 22:29:07 -0400 |
commit | 7596624c10b191e06794d530ee98ea39b568a5cf (patch) | |
tree | 7828cb8e121d9d66195922931b6db864066276e7 | |
parent | 0a040394f34d2d4e5386277649bbff450e3b3075 (diff) |
fix physical/special type macros
-rw-r--r-- | include/battle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/battle.h b/include/battle.h index 1a4372811..dab18f5c5 100644 --- a/include/battle.h +++ b/include/battle.h @@ -43,8 +43,8 @@ #define TYPE_ENDTABLE 0xFF // physical/special types -#define TYPE_IS_PHYSICAL(type) (type < TYPE_MYSTERY) -#define TYPE_IS_SPECIAL(type) (type > TYPE_MYSTERY) +#define TYPE_IS_PHYSICAL(type) ((type) < TYPE_MYSTERY) +#define TYPE_IS_SPECIAL(type) ((type) > TYPE_MYSTERY) enum { |