aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Server/Protocol/Handlers/ItemHandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp b/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp
index 460e5d43180..9b7b14735db 100644
--- a/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp
+++ b/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp
@@ -768,9 +768,6 @@ void WorldSession::SendListInventory(uint64 vendorguid)
continue;
// Only display items in vendor lists for the team the
// player is on. If GM on, display all items.
- // `item_template`.`Faction` is actually `Team`.
- // 1 == Horde / 2 == Alliance. Field will be renamed in later
- // patch.
if (!_player->isGameMaster() && ((pProto->Flags2 & ITEM_FLAGS_EXTRA_HORDE_ONLY && _player->GetTeam() == ALLIANCE) || (pProto->Flags2 == ITEM_FLAGS_EXTRA_ALLIANCE_ONLY && _player->GetTeam() == HORDE)))
continue;
++count;