From bd01c4a5cb40a2df02e9a3a9aee3db0829795f05 Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Wed, 16 Nov 2011 02:33:56 -0800 Subject: Call public ForEach instead of using m_entities directly. No semantic changes, just cleanup --- OpenSim/Region/Framework/Scenes/EntityManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/EntityManager.cs b/OpenSim/Region/Framework/Scenes/EntityManager.cs index 1812bd2..b788a3c 100644 --- a/OpenSim/Region/Framework/Scenes/EntityManager.cs +++ b/OpenSim/Region/Framework/Scenes/EntityManager.cs @@ -79,7 +79,7 @@ namespace OpenSim.Region.Framework.Scenes { List tmp = new List(); - m_entities.ForEach( + ForEach( delegate(EntityBase entity) { if (entity is T) @@ -93,7 +93,7 @@ namespace OpenSim.Region.Framework.Scenes public EntityBase[] GetEntities() { List tmp = new List(m_entities.Count); - m_entities.ForEach(delegate(EntityBase entity) { tmp.Add(entity); }); + ForEach(delegate(EntityBase entity) { tmp.Add(entity); }); return tmp.ToArray(); } -- cgit v1.1