mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c)
This commit is contained in:
@@ -1050,6 +1050,7 @@ void Group::GroupLoot(Loot* loot, WorldObject* lootedObject)
|
||||
continue;
|
||||
|
||||
item = ASSERT_NOTNULL(sObjectMgr->GetItemTemplate(i->itemid));
|
||||
ASSERT(item);
|
||||
|
||||
//roll for over-threshold item if it's one-player loot
|
||||
if (item->GetQuality() >= uint32(m_lootThreshold))
|
||||
|
||||
Reference in New Issue
Block a user