mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[10717] Revert "[10716][10688] New version of patch for send real diff from last update."
This reverts commit 8398a55fa274471daae115e00c627b299a3fdbbd. This reverts commit 06e2d6859ba3d7fd47be72c23a64e68ae039701f.
This commit is contained in:
parent
c1427f7d83
commit
3b0e926788
36 changed files with 145 additions and 180 deletions
|
|
@ -227,8 +227,6 @@ ObjectGridLoader::Load(GridType &grid)
|
|||
|
||||
void ObjectGridLoader::LoadN(void)
|
||||
{
|
||||
uint32 updatetime = i_map->GetLastUpdateTime();
|
||||
|
||||
i_gameObjects = 0; i_creatures = 0; i_corpses = 0;
|
||||
i_cell.data.Part.cell_y = 0;
|
||||
for(unsigned int x=0; x < MAX_NUMBER_OF_CELLS; ++x)
|
||||
|
|
@ -239,9 +237,6 @@ void ObjectGridLoader::LoadN(void)
|
|||
i_cell.data.Part.cell_y = y;
|
||||
GridLoader<Player, AllWorldObjectTypes, AllGridObjectTypes> loader;
|
||||
loader.Load(i_grid(x, y), *this);
|
||||
|
||||
// setup last update time for loaded cell
|
||||
i_grid(x, y).SetLastUpdateTime(updatetime);
|
||||
}
|
||||
}
|
||||
DEBUG_LOG("%u GameObjects, %u Creatures, and %u Corpses/Bones loaded for grid %u on map %u", i_gameObjects, i_creatures, i_corpses,i_grid.GetGridId(), i_map->GetId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue