From 7596624c10b191e06794d530ee98ea39b568a5cf Mon Sep 17 00:00:00 2001 From: yenatch Date: Wed, 18 Apr 2018 22:28:50 -0400 Subject: fix physical/special type macros --- include/battle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 { -- cgit v1.2.3