*Try to fix the bug that relocation notify causes crash.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-27 11:26:22 -06:00
parent 5d886fc46e
commit d5e9d0b2c4
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -248,6 +248,7 @@ class TRINITY_DLL_SPEC Map : public GridRefManager<NGridType>, public Trinity::O
void AddActiveObject(WorldObject* obj) { i_activeObjects.insert(obj); }
void RemoveActiveObject(WorldObject* obj) { i_activeObjects.erase(obj); }
void AddUnitToNotify(Unit* unit);
void RelocationNotify();
void SendToPlayers(WorldPacket const* data) const;