[7927] For achievement criteria type ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM check also items equip at loading.

This commit is contained in:
VladimirMangos 2009-05-31 10:28:36 +04:00
parent 116c72208f
commit af54fbf715
3 changed files with 4 additions and 2 deletions

View file

@ -10331,6 +10331,8 @@ void Player::QuickEquipItem( uint16 pos, Item *pItem)
pItem->AddToWorld();
pItem->SendUpdateToPlayer( this );
}
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM, pItem->GetEntry());
}
}