[8031] Move player update code to Map::Update. Author: Ambal

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-17 18:37:53 -05:00
parent a2f10c496f
commit fe7c616b2d
4 changed files with 9 additions and 15 deletions

View File

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