mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[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:
parent
7c52111fb1
commit
d8c1e3991f
6 changed files with 7 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue