Skip to content

Commit

Permalink
Update Transmogrification.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu authored Sep 1, 2024
1 parent 7dd6de3 commit abac101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Transmogrification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -797,10 +797,10 @@ bool Transmogrification::SuitableForTransmogrification(Player* player, ItemTempl
}
}

if ((proto->HasFlag2(ITEM_FLAG2_FACTION_HORDE) && player->GetTeamId() != TEAM_HORDE)
if (proto->HasFlag2(ITEM_FLAG2_FACTION_HORDE) && player->GetTeamId() != TEAM_HORDE)
return false;

if ((proto->HasFlag2(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeamId() != TEAM_ALLIANCE)
if (proto->HasFlag2(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeamId() != TEAM_ALLIANCE)
return false;

if (!IgnoreReqClass && (proto->AllowableClass & player->getClassMask()) == 0)
Expand Down

0 comments on commit abac101

Please sign in to comment.