Call public ForEach instead of using m_entities directly. No semantic changes, just cleanup

iar_mods
Dan Lake 2011-11-16 02:33:56 -08:00
parent baa65d4a15
commit bd01c4a5cb
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ namespace OpenSim.Region.Framework.Scenes
{
List<EntityBase> tmp = new List<EntityBase>();
m_entities.ForEach(
ForEach(
delegate(EntityBase entity)
{
if (entity is T)
@ -93,7 +93,7 @@ namespace OpenSim.Region.Framework.Scenes
public EntityBase[] GetEntities()
{
List<EntityBase> tmp = new List<EntityBase>(m_entities.Count);
m_entities.ForEach(delegate(EntityBase entity) { tmp.Add(entity); });
ForEach(delegate(EntityBase entity) { tmp.Add(entity); });
return tmp.ToArray();
}