aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement
diff options
context:
space:
mode:
authorlbsa712007-09-20 13:04:51 +0000
committerlbsa712007-09-20 13:04:51 +0000
commit7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9 (patch)
tree866c1cf215fddc3404181c679783f903c925e000 /OpenSim/Region/Environment/LandManagement
parent* moved SceneManager to RegionApplicationBase (diff)
downloadopensim-SC-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.zip
opensim-SC-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.tar.gz
opensim-SC-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.tar.bz2
opensim-SC-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.tar.xz
Rev 1971 : The Lbsa71 vintage commit
* Refactored to prepare for some serious restructuring
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);