mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
let DoubleDictionary... also have a values array
This commit is contained in:
@@ -94,9 +94,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public EntityBase[] GetEntities()
|
||||
{
|
||||
List<EntityBase> tmp = new List<EntityBase>(m_entities.Count);
|
||||
ForEach(delegate(EntityBase entity) { tmp.Add(entity); });
|
||||
return tmp.ToArray();
|
||||
return m_entities.GetArray();
|
||||
}
|
||||
|
||||
public void ForEach(Action<EntityBase> action)
|
||||
|
||||
Reference in New Issue
Block a user