diff options
author | Rat <none@none> | 2009-08-04 23:16:44 +0200 |
---|---|---|
committer | Rat <none@none> | 2009-08-04 23:16:44 +0200 |
commit | dfe158074d12406012679a68a7141e62762919cf (patch) | |
tree | 16dd4ae58bf68ca1a0fb201c000fb3b7dd4c6b47 /src | |
parent | d95e9c1027380f93b045e2fdea400256a0214860 (diff) |
*fixed Alterac Valley
--HG--
branch : trunk
Diffstat (limited to 'src')
-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; } |