This commit is contained in:
Duarte Duarte committed 2015-02-22 06:06:58 +00:00
1 parent 6cc38ad7d2
commit a324ee8a22
1 file changed
+1 -1
+1 -1
View File
@@ -10748,7 +10748,7 @@ bool Player::HasItemTotemCategory(uint32 TotemCategory) const
for (uint8 i = EQUIPMENT_SLOT_START; i < INVENTORY_SLOT_ITEM_END; ++i)
{
item = GetUseableItemByPos(INVENTORY_SLOT_BAG_0, i);
if (item && IsTotemCategoryCompatibleWith(item->GetTemplate()->GetTotemCategory(), TotemCategory))
if (item && IsTotemCategoryCompatibleWith(item->GetTemplate()->TotemCategory, TotemCategory))
return true;
}