diff options
Diffstat (limited to 'src/game/BattleGround.h')
-rw-r--r-- | src/game/BattleGround.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h index 99cb119c1f2..aa7cd316eb4 100644 --- a/src/game/BattleGround.h +++ b/src/game/BattleGround.h @@ -258,10 +258,7 @@ class BattleGround { return true; } - void Reset(); // resets all common properties for battlegrounds - virtual void ResetBGSubclass() // must be implemented in BG subclass - { - } + virtual void Reset(); // resets all common properties for battlegrounds, must be implemented and called in BG subclass /* Battleground */ // Get methods: @@ -425,6 +422,8 @@ class BattleGround virtual void AddPlayer(Player *plr); // must be implemented in BG subclass + void AddOrSetPlayerToCorrectBgGroup(Player *plr, uint64 plr_guid, uint32 team); + virtual void RemovePlayerAtLeave(uint64 guid, bool Transport, bool SendPacket); // can be extended in in BG subclass |