aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement/Land.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement/Land.cs')
-rw-r--r--OpenSim/Region/Environment/LandManagement/Land.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs
index e9837c0..bf35b57 100644
--- a/OpenSim/Region/Environment/LandManagement/Land.cs
+++ b/OpenSim/Region/Environment/LandManagement/Land.cs
@@ -220,6 +220,11 @@ namespace OpenSim.Region.Environment.LandManagement
220 } 220 }
221 } 221 }
222 222
223 public void sendLandUpdateToClient(IClientAPI remote_client)
224 {
225 sendLandProperties(0, false, 0, remote_client);
226 }
227
223 public void sendLandUpdateToAvatarsOverMe() 228 public void sendLandUpdateToAvatarsOverMe()
224 { 229 {
225 List<ScenePresence> avatars = m_scene.GetAvatars(); 230 List<ScenePresence> avatars = m_scene.GetAvatars();
@@ -230,7 +235,7 @@ namespace OpenSim.Region.Environment.LandManagement
230 (int) Math.Round(avatars[i].AbsolutePosition.Y)); 235 (int) Math.Round(avatars[i].AbsolutePosition.Y));
231 if (over.landData.localID == landData.localID) 236 if (over.landData.localID == landData.localID)
232 { 237 {
233 sendLandProperties(0, false, 0, avatars[i].ControllingClient); 238 sendLandUpdateToClient(avatars[i].ControllingClient);
234 } 239 }
235 } 240 }
236 } 241 }