From 1f88411cccdba1e2b8ad00b23dea37332c481a5c Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 25 Aug 2009 15:12:22 -0500 Subject: *Delete object after map update. This will make mtmap safer. --HG-- branch : trunk --- src/game/Map.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game/Map.h') diff --git a/src/game/Map.h b/src/game/Map.h index e9909b122a3..2ef300a4af6 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -347,9 +347,9 @@ class MANGOS_DLL_SPEC Map : public GridRefManager, public MaNGOS::Obj GetZoneAndAreaIdByAreaFlag(zoneid,areaid,GetAreaFlag(x,y,z),GetId()); } - virtual void MoveAllCreaturesInMoveList(); - virtual void RemoveAllObjectsInRemoveList(); - virtual void RelocationNotify(); + void MoveAllCreaturesInMoveList(); + void RemoveAllObjectsInRemoveList(); + void RelocationNotify(); virtual void RemoveAllPlayers(); bool CreatureRespawnRelocation(Creature *c); // used only in MoveAllCreaturesInMoveList and ObjectGridUnloader @@ -384,7 +384,7 @@ class MANGOS_DLL_SPEC Map : public GridRefManager, public MaNGOS::Obj void AddObjectToRemoveList(WorldObject *obj); void AddObjectToSwitchList(WorldObject *obj, bool on); - //void DoDelayedMovesAndRemoves(); + virtual void DelayedUpdate(const uint32 diff); virtual bool RemoveBones(uint64 guid, float x, float y); -- cgit v1.2.3