[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
This commit is contained in:
megamage committed 2009-02-13 20:10:14 -06:00
1 parent 096030e625
commit 59be8223e4
19 files changed
+107 -115

No files matched your search

+4 -1
View File
@@ -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;