aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement')
-rw-r--r--OpenSim/Region/Environment/LandManagement/Land.cs2
-rw-r--r--OpenSim/Region/Environment/LandManagement/LandManager.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs
index 4d36650..6c177cd 100644
--- a/OpenSim/Region/Environment/LandManagement/Land.cs
+++ b/OpenSim/Region/Environment/LandManagement/Land.cs
@@ -195,7 +195,7 @@ namespace OpenSim.Region.Environment.LandManagement
195 195
196 public void sendLandUpdateToAvatarsOverMe() 196 public void sendLandUpdateToAvatarsOverMe()
197 { 197 {
198 List<ScenePresence> avatars = m_scene.RequestAvatarList(); 198 List<ScenePresence> avatars = m_scene.GetAvatars();
199 for (int i = 0; i < avatars.Count; i++) 199 for (int i = 0; i < avatars.Count; i++)
200 { 200 {
201 Land over = 201 Land over =
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs
index 843c0f5..731ce61 100644
--- a/OpenSim/Region/Environment/LandManagement/LandManager.cs
+++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs
@@ -537,7 +537,7 @@ namespace OpenSim.Region.Environment.LandManagement
537 537
538 public void handleSignificantClientMovement(IClientAPI remote_client) 538 public void handleSignificantClientMovement(IClientAPI remote_client)
539 { 539 {
540 ScenePresence clientAvatar = m_scene.RequestAvatar(remote_client.AgentId); 540 ScenePresence clientAvatar = m_scene.GetScenePresence(remote_client.AgentId);
541 if (clientAvatar != null) 541 if (clientAvatar != null)
542 { 542 {
543 Land over = getLandObject(clientAvatar.AbsolutePosition.X, clientAvatar.AbsolutePosition.Y); 543 Land over = getLandObject(clientAvatar.AbsolutePosition.X, clientAvatar.AbsolutePosition.Y);