ITEM_FLAGS_EXTRA_NEED_ROLL_DISABLED should only affect Need before Greed loot method

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-05-31 14:07:29 +02:00
parent 7fbeef3d09
commit 042b503665
-3
View File
@@ -664,9 +664,6 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject)
if (item->DisenchantID && m_maxEnchantingLevel >= item->RequiredDisenchantSkill)
r->rollVoteMask |= ROLL_FLAG_TYPE_DISENCHANT;
if (item->Flags2 & ITEM_FLAGS_EXTRA_NEED_ROLL_DISABLED)
r->rollVoteMask &= ~ROLL_FLAG_TYPE_NEED;
loot->items[itemSlot].is_blocked = true;
// If there is any "auto pass", broadcast the pass now.