Revert "Core/Battlegrounds: Remove player on leave from battleground player map only after battleground-specific code"

Some battlegrounds (arenas) need access to the updated player map in RemovePlayer(), pass team as parameter instead
This commit is contained in:
Shocker
2011-06-18 14:08:51 +03:00
parent 06690cb4b8
commit 7f0af21fcd
28 changed files with 39 additions and 40 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ class Battleground
// Scorekeeping
BattlegroundScoreMap m_PlayerScores; // Player scores
// must be implemented in BG subclass
virtual void RemovePlayer(Player* /*player*/, uint64 /*guid*/) {}
virtual void RemovePlayer(Player* /*player*/, uint64 /*guid*/, uint32 /*team*/) {}
// Player lists, those need to be accessible by inherited classes
BattlegroundPlayerMap m_Players;