[8274] use virtual m_TeamScore for battlegrounds

score is used in every battleground (not arena)
so we can use it as a virtual variable to access
it also from BattleGround-class

Signed-off-by: balrok <der-coole-carl@gmx.net>
This commit is contained in:
balrok 2009-07-29 14:43:05 +02:00
parent 7c52111fb1
commit d8c1e3991f
6 changed files with 7 additions and 4 deletions

View file

@ -178,6 +178,9 @@ BattleGround::BattleGround()
m_PlayersCount[BG_TEAM_ALLIANCE] = 0;
m_PlayersCount[BG_TEAM_HORDE] = 0;
m_TeamScores[BG_TEAM_ALLIANCE] = 0;
m_TeamScores[BG_TEAM_HORDE] = 0;
m_PrematureCountDown = false;
m_PrematureCountDown = 0;