No you could use:
1 2 3 4 5 6 | if (a_ItemType == E_ITEM_BOOK || ItemCategory->IsTool(a_ItemType) || ItemCategory->IsArmor(a_ItemType)) { // Do stuff } |