[7477] Implement work ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM

This commit is contained in:
VladimirMangos 2009-03-17 10:10:14 +03:00
parent bde638ace7
commit 4215b65b8c
4 changed files with 28 additions and 15 deletions

View file

@ -10688,6 +10688,8 @@ Item* Player::EquipItem( uint16 pos, Item *pItem, bool update )
}
}
// only for full equip instead adding to stack
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM, pItem->GetEntry());
return pItem;
}