mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
*Update to Mangos 7125.
--HG-- branch : trunk
This commit is contained in:
@@ -276,22 +276,6 @@ ObjectAccessor::UpdateObject(Object* obj, Player* exceptPlayer)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ObjectAccessor::AddUpdateObject(Object *obj)
|
||||
{
|
||||
Guard guard(i_updateGuard);
|
||||
i_objects.insert(obj);
|
||||
}
|
||||
|
||||
void
|
||||
ObjectAccessor::RemoveUpdateObject(Object *obj)
|
||||
{
|
||||
Guard guard(i_updateGuard);
|
||||
std::set<Object *>::iterator iter = i_objects.find(obj);
|
||||
if( iter != i_objects.end() )
|
||||
i_objects.erase( iter );
|
||||
}
|
||||
|
||||
void
|
||||
ObjectAccessor::_buildUpdateObject(Object *obj, UpdateDataMapType &update_players)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user