*Move move and remove obj from world update to map update.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-21 11:18:46 -05:00
parent fc48248221
commit 2ecf455090
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -1616,7 +1616,7 @@ void World::Update(time_t diff)
/// </ul>
///- Move all creatures with "delayed move" and remove and delete all objects with "delayed remove"
MapManager::Instance().DoDelayedMovesAndRemoves();
//MapManager::Instance().DoDelayedMovesAndRemoves();
// update the instance reset times
sInstanceSaveManager.Update();