mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[9598] update battlegrounds per map + cleanup at delete
this will be useful, if we have multithreaded mapupdates one day since i couldn't reproduce any errors regarding to self deletions of battlegrounds i removed the m_deleteThis variable
This commit is contained in:
parent
24d45c6a08
commit
1b2eefd721
7 changed files with 19 additions and 40 deletions
|
|
@ -576,6 +576,7 @@ class MANGOS_DLL_SPEC BattleGroundMap : public Map
|
|||
BattleGroundMap(uint32 id, time_t, uint32 InstanceId, Map* _parent, uint8 spawnMode);
|
||||
~BattleGroundMap();
|
||||
|
||||
void Update(const uint32&);
|
||||
bool Add(Player *);
|
||||
void Remove(Player *, bool);
|
||||
bool CanEnter(Player* player);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue