[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 <[email protected]>

--HG--
branch : trunk
This commit is contained in:
megamage
2009-07-31 11:34:38 +08:00
parent ed995581af
commit d96642c92f
5 changed files with 6 additions and 3 deletions
-1
View File
@@ -369,7 +369,6 @@ class BattleGroundEY : public BattleGround
void RemovePoint(uint32 TeamID, uint32 Points = 1) { m_TeamScores[GetTeamIndexByTeamId(TeamID)] -= Points; }
void SetTeamPoint(uint32 TeamID, uint32 Points = 0) { m_TeamScores[GetTeamIndexByTeamId(TeamID)] = Points; }
uint32 m_TeamScores[2];
uint32 m_HonorScoreTics[2];
uint32 m_TeamPointsCount[2];