*Fix a typo which makes tenacity is casted on wrong team in wintergrasp. By iadus3

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-13 18:44:22 -05:00
parent 354c7a5f0d
commit ad4267ce11

View File

@@ -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);