diff options
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement/LandManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/LandManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |