aboutsummaryrefslogtreecommitdiff
path: root/src/game/Map.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-21 11:18:46 -0500
committermegamage <none@none>2009-04-21 11:18:46 -0500
commit2ecf4550906909b06d33d6358822fc3f8a30e1cd (patch)
tree55b2173cd15479ea1cac2f9f3e0fad92d3d83fe9 /src/game/Map.cpp
parentfc48248221b39ec2aeb8f156efee60625daec690 (diff)
*Move move and remove obj from world update to map update.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r--src/game/Map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index 8a673c8937d..65c30f1781e 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -821,7 +821,9 @@ void Map::Update(const uint32 &t_diff)
i_lock = true;
+ MoveAllCreaturesInMoveList();
RelocationNotify();
+ RemoveAllObjectsInRemoveList();
// Don't unload grids if it's battleground, since we may have manually added GOs,creatures, those doesn't load from DB at grid re-load !
// This isn't really bother us, since as soon as we have instanced BG-s, the whole map unloads as the BG gets ended