mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
*Fix a typo which makes tenacity is casted on wrong team in wintergrasp. By iadus3
--HG-- branch : trunk
This commit is contained in:
@@ -610,7 +610,7 @@ void OPvPWintergrasp::UpdateTenacityStack()
|
||||
// Apply new buff
|
||||
if(newStack)
|
||||
{
|
||||
TeamId team = newStack > 0 ? TEAM_ALLIANCE : TEAM_HORDE;
|
||||
TeamId team = newStack > 0 ? TEAM_HORDE : TEAM_ALLIANCE;
|
||||
if(newStack < 0) newStack = -newStack;
|
||||
for(PlayerSet::iterator itr = m_players[team].begin(); itr != m_players[team].end(); ++itr)
|
||||
(*itr)->SetAuraStack(SPELL_TENACITY, *itr, newStack);
|
||||
|
||||
Reference in New Issue
Block a user