[8031] Move player update code to Map::Update. Author: Ambal
--HG-- branch : trunk
This commit is contained in:
1 parent
a2f10c496f
commit
fe7c616b2d
4 files changed
+9
-15
No files matched your search
@@ -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