Core/Misc: Fix static analysis issues
This commit is contained in:
1 parent
e4841c960b
commit
8b6261c809
12 files changed
+24
-37
No files matched your search
@@ -1567,8 +1567,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, Map* allowedMap)
|
||||
|
||||
// remove is_blocked so that the item is lootable by all players
|
||||
LootItem* item = &(roll->itemSlot >= roll->getLoot()->items.size() ? roll->getLoot()->quest_items[roll->itemSlot - roll->getLoot()->items.size()] : roll->getLoot()->items[roll->itemSlot]);
|
||||
if (item)
|
||||
item->is_blocked = false;
|
||||
item->is_blocked = false;
|
||||
}
|
||||
|
||||
RollId.erase(rollI);
|
||||
|
||||
Reference in new issue
Block a user