mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7276] Rewrited fix for same faction arena matches
Added better Object-oriented calls to BattleGround::Reset() Added more checks to CreateBattleGround() method This commit doesn't fix anything
This commit is contained in:
parent
bd89568993
commit
1eadd9b7b4
19 changed files with 107 additions and 115 deletions
|
|
@ -513,8 +513,11 @@ bool BattleGroundEY::SetupBattleGround()
|
|||
return true;
|
||||
}
|
||||
|
||||
void BattleGroundEY::ResetBGSubclass()
|
||||
void BattleGroundEY::Reset()
|
||||
{
|
||||
//call parent's class reset
|
||||
BattleGround::Reset();
|
||||
|
||||
m_TeamScores[BG_TEAM_ALLIANCE] = 0;
|
||||
m_TeamScores[BG_TEAM_HORDE] = 0;
|
||||
m_TeamPointsCount[BG_TEAM_ALLIANCE] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue