mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Objects: Refactor building SMSG_UPDATE_OBJECT to make CGObject fragment optional as well as making integrating additional entity fragments easier
This commit is contained in:
@@ -1967,7 +1967,7 @@ void Map::SendObjectUpdates()
|
||||
|
||||
while (!_updateObjects.empty())
|
||||
{
|
||||
Object* obj = *_updateObjects.begin();
|
||||
BaseEntity* obj = *_updateObjects.begin();
|
||||
ASSERT(obj->IsInWorld());
|
||||
_updateObjects.erase(_updateObjects.begin());
|
||||
obj->BuildUpdate(update_players);
|
||||
|
||||
Reference in New Issue
Block a user