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

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-06-17 18:37:53 -05:00
1 parent a2f10c496f
commit fe7c616b2d
4 files changed
+9 -15

No files matched your search

-9
View File
@@ -391,15 +391,6 @@ ObjectAccessor::Update(uint32 diff)
}
}
void
ObjectAccessor::UpdatePlayers(uint32 diff)
{
HashMapHolder<Player>::MapType& playerMap = HashMapHolder<Player>::GetContainer();
for(HashMapHolder<Player>::MapType::iterator iter = playerMap.begin(); iter != playerMap.end(); ++iter)
if(iter->second->IsInWorld())
iter->second->Update(diff);
}
void
ObjectAccessor::WorldObjectChangeAccumulator::Visit(PlayerMapType &m)
{