diff options
-rw-r--r-- | src/game/BattleGround.cpp | 2 | ||||
-rw-r--r-- | src/game/BattleGround.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index 14778e9b471..3f9aa26def7 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -1110,6 +1110,8 @@ void BattleGround::Reset() m_Players.clear(); m_PlayerScores.clear(); + + ResetBGSubclass(); } void BattleGround::StartBattleGround() diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h index ab1a3d4b13c..07f2643fd17 100644 --- a/src/game/BattleGround.h +++ b/src/game/BattleGround.h @@ -297,6 +297,9 @@ class BattleGround virtual void Reset(); // resets all common properties for battlegrounds, must be implemented and called in BG subclass virtual void StartingEventCloseDoors() {} virtual void StartingEventOpenDoors() {} + virtual void ResetBGSubclass() // must be implemented in BG subclass + { + } /* achievement req. */ virtual bool IsAllNodesConrolledByTeam(uint32 /*team*/) const { return false; } |