aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2021-06-13 19:41:51 +0200
committerGitHub <noreply@github.com>2021-06-13 19:41:51 +0200
commit8d92f6f2b483dffa7127614de3c41f3f596743fb (patch)
tree217761cfe80cfcfd35855ff9015747ea9f98b907
parent12668692ea11b10c7ec472577a87c70f5e0c9a17 (diff)
Core/Loot: Allow master looter to see all quest items (#26584)
-rw-r--r--src/server/game/Loot/Loot.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/server/game/Loot/Loot.cpp b/src/server/game/Loot/Loot.cpp
index 3cd0762b271..ffd28eace61 100644
--- a/src/server/game/Loot/Loot.cpp
+++ b/src/server/game/Loot/Loot.cpp
@@ -71,13 +71,9 @@ bool LootItem::AllowedForPlayer(Player const* player, bool isGivenByMasterLooter
if (pProto->HasFlag(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeam() != ALLIANCE)
return false;
- // Master looter can see certain items even if the character can't loot them
+ // Master looter can see all items even if the character can't loot them
if (!isGivenByMasterLooter && player->GetGroup() && player->GetGroup()->GetMasterLooterGuid() == player->GetGUID())
{
- // check quest requirements
- if (!pProto->HasFlag(ITEM_FLAGS_CU_IGNORE_QUEST_STATUS) && (needs_quest || pProto->StartQuest))
- return false;
-
return true;
}