aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-10-12 00:13:46 +0200
committerSnapperRy <snapperryen@gmail.com>2016-10-12 00:13:46 +0200
commit41445e0d3eae87a37a1199018afaa0059691965f (patch)
tree7e3440c494167f80b3bf9be5e1a6e206459d6af9 /src
parentfffeae0da222eb84145880278ee9ac07e6076853 (diff)
Core/Loot: revert unique item check introduced in ea69115.
Proven to be wrong in its current form. Will reintroduce later either in the same method or via db conditions.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Loot/LootMgr.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/server/game/Loot/LootMgr.cpp b/src/server/game/Loot/LootMgr.cpp
index 91ad62c43c7..260e7ff464f 100644
--- a/src/server/game/Loot/LootMgr.cpp
+++ b/src/server/game/Loot/LootMgr.cpp
@@ -394,10 +394,6 @@ bool LootItem::AllowedForPlayer(Player const* player) const
if (!(pProto->FlagsCu & ITEM_FLAGS_CU_IGNORE_QUEST_STATUS) && ((needs_quest || (pProto->StartQuest && player->GetQuestStatus(pProto->StartQuest) != QUEST_STATUS_NONE)) && !player->HasQuestForItem(itemid)))
return false;
- // Don't show non-epic and non-legendary bind-when-picked-up unique items if player already has the maximum allowed quantity.
- if (pProto->Bonding == BIND_WHEN_PICKED_UP && pProto->Quality < ITEM_QUALITY_EPIC && pProto->MaxCount && int32(player->GetItemCount(itemid, true)) >= pProto->MaxCount)
- return false;
-
return true;
}