[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
2009-02-13 20:10:14 -06:00
parent 096030e625
commit 59be8223e4
19 changed files with 107 additions and 115 deletions
+1 -1
View File
@@ -319,7 +319,7 @@ class BattleGroundEY : public BattleGround
void HandleKillPlayer(Player *player, Player *killer);
virtual WorldSafeLocsEntry const* GetClosestGraveYard(float x, float y, float z, uint32 team);
virtual bool SetupBattleGround();
virtual void ResetBGSubclass();
virtual void Reset();
void UpdateTeamScore(uint32 Team);
void UpdatePlayerScore(Player *Source, uint32 type, uint32 value);
virtual void FillInitialWorldStates(WorldPacket& data);