Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool CItem::HasAttr(BYTE bApply)
- {
- //for (int i = 0; i < ITEM_APPLY_MAX_NUM; ++i)
- // if (m_pProto->aApplies[i].bType == bApply)
- // return true;
- for (int i = 0; i < MAX_NORM_ATTR_NUM; ++i)
- if (GetAttributeType(i) == bApply)
- return true;
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement