diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 9892866..7e6fd7a 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -97,11 +97,10 @@ namespace SimpleApp | |||
97 | scene.AddNewClient(m_character, false); | 97 | scene.AddNewClient(m_character, false); |
98 | } | 98 | } |
99 | 99 | ||
100 | List<ScenePresence> avatars = scene.RequestAvatarList(); | 100 | List<ScenePresence> avatars = scene.GetAvatars(); |
101 | foreach (ScenePresence avatar in avatars) | 101 | foreach (ScenePresence avatar in avatars) |
102 | { | 102 | { |
103 | avatar.AbsolutePosition = new LLVector3((float)OpenSim.Framework.Utilities.Util.RandomClass.Next(100,200), (float)OpenSim.Framework.Utilities.Util.RandomClass.Next(30, 200), 2); | 103 | avatar.AbsolutePosition = new LLVector3((float)OpenSim.Framework.Utilities.Util.RandomClass.Next(100,200), (float)OpenSim.Framework.Utilities.Util.RandomClass.Next(30, 200), 2); |
104 | |||
105 | } | 104 | } |
106 | 105 | ||
107 | 106 | ||