From 7dd6de39f17fe00b1549567b359c174d80113349 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 1 Sep 2024 14:34:52 +0200 Subject: [PATCH] Update Transmogrification.cpp --- src/Transmogrification.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Transmogrification.cpp b/src/Transmogrification.cpp index b9050a51..04134927 100644 --- a/src/Transmogrification.cpp +++ b/src/Transmogrification.cpp @@ -797,10 +797,10 @@ bool Transmogrification::SuitableForTransmogrification(Player* player, ItemTempl } } - if ((proto->Flags2 & ITEM_FLAGS_EXTRA_HORDE_ONLY) && player->GetTeamId() != TEAM_HORDE) + if ((proto->HasFlag2(ITEM_FLAG2_FACTION_HORDE) && player->GetTeamId() != TEAM_HORDE) return false; - if ((proto->Flags2 & ITEM_FLAGS_EXTRA_ALLIANCE_ONLY) && player->GetTeamId() != TEAM_ALLIANCE) + if ((proto->HasFlag2(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeamId() != TEAM_ALLIANCE) return false; if (!IgnoreReqClass && (proto->AllowableClass & player->getClassMask()) == 0)