diff options
author | megamage <none@none> | 2009-01-20 19:59:43 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-20 19:59:43 -0600 |
commit | 68c0bcd06980cbc5babc842d990d1b8eb564e388 (patch) | |
tree | 0dbed1b4453a0361cecd2608325107902696ab22 /src/game/ObjectAccessor.cpp | |
parent | 1bbd8968615e4b89fe4549bd1cccd089f6ad38f0 (diff) |
*Update to Mangos 7125.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectAccessor.cpp')
-rw-r--r-- | src/game/ObjectAccessor.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/game/ObjectAccessor.cpp b/src/game/ObjectAccessor.cpp index 872cf8280f5..dc451011110 100644 --- a/src/game/ObjectAccessor.cpp +++ b/src/game/ObjectAccessor.cpp @@ -277,22 +277,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) { bool build_for_all = true; |