Skip to content

Commit 94d3f9d

Browse files
authored
Core/Battlegrounds: Properly move team-swapped group in same-faction skirmishes (#31250)
1 parent 2979b12 commit 94d3f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/game/Battlegrounds/BattlegroundQueue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ bool BattlegroundQueue::CheckSkirmishForSameFaction(uint32 minPlayersPerTeam)
730730
//set correct team
731731
(*itr)->Team = otherTeamId;
732732
//add team to other queue
733-
m_QueuedGroups[uint8(BG_QUEUE_NORMAL_ALLIANCE) + uint8(teamIndex)].push_front(*itr);
733+
m_QueuedGroups[uint8(BG_QUEUE_NORMAL_ALLIANCE) + uint8(otherTeam)].push_front(*itr);
734734
//remove team from old queue
735735
GroupsQueueType::iterator itr2 = itr_team;
736736
++itr2;

0 commit comments

Comments
 (0)