Core/Misc: Separate RecordTimeDiff in World::Update for MapMgr and BattlegroundMgr

This commit is contained in:
Shocker
2012-01-03 21:54:55 +02:00
parent 3a29f5a5de
commit 0f66a5bd15
+2
View File
@@ -1959,7 +1959,9 @@ void World::Update(uint32 diff)
/// <li> Handle all other objects /// <li> Handle all other objects
///- Update objects when the timer has passed (maps, transport, creatures, ...) ///- Update objects when the timer has passed (maps, transport, creatures, ...)
RecordTimeDiff(NULL);
sMapMgr->Update(diff); sMapMgr->Update(diff);
RecordTimeDiff("UpdateMapMgr");
if (sWorld->getBoolConfig(CONFIG_AUTOBROADCAST)) if (sWorld->getBoolConfig(CONFIG_AUTOBROADCAST))
{ {