aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundWS.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-13 20:10:14 -0600
committermegamage <none@none>2009-02-13 20:10:14 -0600
commit59be8223e4f25e28ede94f9694a2b151caffd9ed (patch)
tree48e937d6db9967a8b2b4acfe43a0e0ecc996150a /src/game/BattleGroundWS.cpp
parent096030e6258d2c136eeae947246a36784abc2def (diff)
[7276] Rewrited fix for same faction arena matches
Added better Object-oriented calls to BattleGround::Reset() Added more checks to CreateBattleGround() method This commit doesn't fix anything Author: Triply --HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundWS.cpp')
-rw-r--r--src/game/BattleGroundWS.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/BattleGroundWS.cpp b/src/game/BattleGroundWS.cpp
index 3175f2873f9..2af90fcd3c6 100644
--- a/src/game/BattleGroundWS.cpp
+++ b/src/game/BattleGroundWS.cpp
@@ -654,8 +654,11 @@ bool BattleGroundWS::SetupBattleGround()
return true;
}
-void BattleGroundWS::ResetBGSubclass()
+void BattleGroundWS::Reset()
{
+ //call parent's class reset
+ BattleGround::Reset();
+
m_FlagKeepers[BG_TEAM_ALLIANCE] = 0;
m_FlagKeepers[BG_TEAM_HORDE] = 0;
m_DroppedFlagGUID[BG_TEAM_ALLIANCE] = 0;