aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-13 18:44:22 -0500
committermegamage <none@none>2009-08-13 18:44:22 -0500
commitad4267ce11270767a9e1574104f188d402adb525 (patch)
treeddcb2b447ad550454f5ba688a3748bc9fce76de6 /src
parent354c7a5f0d9c2a8bcf5598307c6e09e061df6c15 (diff)
*Fix a typo which makes tenacity is casted on wrong team in wintergrasp. By iadus3
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Wintergrasp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp
index fa1c507ac73..a780e7a91d4 100644
--- a/src/game/Wintergrasp.cpp
+++ b/src/game/Wintergrasp.cpp
@@ -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);