diff options
author | megamage <none@none> | 2009-08-25 15:12:22 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-25 15:12:22 -0500 |
commit | 1f88411cccdba1e2b8ad00b23dea37332c481a5c (patch) | |
tree | fb8873ba3437f2abb63539a4643d56add9fe89d6 /src/game/Map.h | |
parent | df4fe8c4dc65c43635ae12ba1b6f7f196ea566dd (diff) |
*Delete object after map update. This will make mtmap safer.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.h')
-rw-r--r-- | src/game/Map.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<NGridType>, 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<NGridType>, 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); |