Core/Misc: Fix static analysis issues

This commit is contained in:
Aokromes committed 2017-12-08 15:23:32 +01:00
1 parent 4ee51ff96e
commit 2e0f2ee3fb
3 files changed
+7 -1

No files matched your search

+1
View File
@@ -1535,6 +1535,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, Map* allowedMap)
roll->getLoot()->NotifyItemRemoved(roll->itemSlot);
roll->getLoot()->unlootedCount--;
ItemTemplate const* pProto = sObjectMgr->GetItemTemplate(roll->itemid);
ASSERT(pProto);
player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL, 13262); // Disenchant
ItemPosCountVec dest;