mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[11202] Schedule AI notify at adding to world
This fixes the problem, that creatures, added at grid loading, do not start attack each other More shedule -> schedule fixes added, removed unused Map::PlayerRelocationNotify function
This commit is contained in:
parent
6529e69924
commit
fcc09483ad
5 changed files with 10 additions and 48 deletions
|
|
@ -263,8 +263,6 @@ class MANGOS_DLL_SPEC Map : public GridRefManager<NGridType>
|
|||
void SendInitTransports( Player * player );
|
||||
void SendRemoveTransports( Player * player );
|
||||
|
||||
void PlayerRelocationNotify(Player* player, Cell cell, CellPair cellpair);
|
||||
|
||||
bool CreatureCellRelocation(Creature *creature, Cell new_cell);
|
||||
|
||||
bool loaded(const GridPair &) const;
|
||||
|
|
@ -337,9 +335,6 @@ class MANGOS_DLL_SPEC Map : public GridRefManager<NGridType>
|
|||
template<class T>
|
||||
void AddToGrid(T*, NGridType *, Cell const&);
|
||||
|
||||
template<class T>
|
||||
void AddNotifier(T*, Cell const&, CellPair const&);
|
||||
|
||||
template<class T>
|
||||
void RemoveFromGrid(T*, NGridType *, Cell const&);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue