[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>

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-07-31 11:34:38 +08:00
1 parent ed995581af
commit d96642c92f
5 files changed
+6 -3

No files matched your search

+3
View File
@@ -182,6 +182,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;