diff options
author | win32 <none@none> | 2009-12-16 23:23:42 +0200 |
---|---|---|
committer | win32 <none@none> | 2009-12-16 23:23:42 +0200 |
commit | f64a11dfdc1a09e5734e76e87279091af26b04d6 (patch) | |
tree | 03b0a3756d5a0801a51e708ffd1a9677570f7ac2 /src/game/BattleGround.cpp | |
parent | c645c993106cddf210d427ff74f8e0828e322dc2 (diff) |
Restore work arena unit frame
Closes #289
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.cpp')
-rw-r--r-- | src/game/BattleGround.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index c6527584fd3..c9a3eb6be9e 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -1885,6 +1885,12 @@ void BattleGround::CheckArenaWinConditions() EndBattleGround(ALLIANCE); } +void BattleGround::UpdateArenaUnitWorldState() +{ + UpdateWorldState(HORDE_WORLD_STATE, GetAlivePlayersCountByTeam(HORDE)); + UpdateWorldState(ALLIANCE_WORLD_STATE, GetAlivePlayersCountByTeam(ALLIANCE)); +} + void BattleGround::SetBgRaid( uint32 TeamID, Group *bg_raid ) { Group* &old_raid = TeamID == ALLIANCE ? m_BgRaids[BG_TEAM_ALLIANCE] : m_BgRaids[BG_TEAM_HORDE]; |