mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core: Remove outdated comment
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user