mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Move object update from ObjectAccessor to Map update.
This commit is contained in:
parent
d287a17597
commit
0d1b8038f5
6 changed files with 204 additions and 89 deletions
|
|
@ -244,6 +244,8 @@ MapManager::Update(time_t diff)
|
|||
if( !i_timer.Passed() )
|
||||
return;
|
||||
|
||||
ObjectAccessor::Instance().UpdatePlayers(i_timer.GetCurrent());
|
||||
|
||||
for(MapMapType::iterator iter=i_maps.begin(); iter != i_maps.end(); ++iter)
|
||||
{
|
||||
checkAndCorrectGridStatesArray(); // debugging code, should be deleted some day
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue