mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 11:52:32 +01:00
[8031] Move player update code to Map::Update. Author: Ambal
--HG-- branch : trunk
This commit is contained in:
@@ -251,11 +251,6 @@ MapManager::Update(uint32 diff)
|
||||
if( !i_timer.Passed() )
|
||||
return;
|
||||
|
||||
sWorld.RecordTimeDiff(NULL);
|
||||
ObjectAccessor::Instance().UpdatePlayers(i_timer.GetCurrent());
|
||||
sWorld.RecordTimeDiff("UpdatePlayers");
|
||||
|
||||
|
||||
for(MapMapType::iterator iter=i_maps.begin(); iter != i_maps.end(); ++iter)
|
||||
{
|
||||
checkAndCorrectGridStatesArray(); // debugging code, should be deleted some day
|
||||
|
||||
Reference in New Issue
Block a user