diff options
author | Adam Frisby | 2008-05-06 04:56:48 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-06 04:56:48 +0000 |
commit | 31cd162d34ab03284186484924e434a1187942cf (patch) | |
tree | 0edad805100caebd12d3bb103bef42503b92de57 /OpenSim/Region/Environment/Modules/World/Land/LandObject.cs | |
parent | * Committing a bunch of work for control snatching. Not done yet. No visib... (diff) | |
download | opensim-SC_OLD-31cd162d34ab03284186484924e434a1187942cf.zip opensim-SC_OLD-31cd162d34ab03284186484924e434a1187942cf.tar.gz opensim-SC_OLD-31cd162d34ab03284186484924e434a1187942cf.tar.bz2 opensim-SC_OLD-31cd162d34ab03284186484924e434a1187942cf.tar.xz |
* Cleaning up code, making it conform to OpenSim standards.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Land/LandObject.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Land/LandObject.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs b/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs index 891e1db..88bc4e6 100644 --- a/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs +++ b/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs | |||
@@ -150,7 +150,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
150 | newData.userLocation = args.UserLocation; | 150 | newData.userLocation = args.UserLocation; |
151 | newData.userLookAt = args.UserLookAt; | 151 | newData.userLookAt = args.UserLookAt; |
152 | 152 | ||
153 | m_scene.LandChannel.updateLandObject(landData.localID, newData); | 153 | m_scene.LandChannel.UpdateLandObject(landData.localID, newData); |
154 | 154 | ||
155 | sendLandUpdateToAvatarsOverMe(); | 155 | sendLandUpdateToAvatarsOverMe(); |
156 | } | 156 | } |
@@ -168,7 +168,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
168 | newData.salePrice = 0; | 168 | newData.salePrice = 0; |
169 | newData.authBuyerID = LLUUID.Zero; | 169 | newData.authBuyerID = LLUUID.Zero; |
170 | newData.landFlags &= ~(uint) (Parcel.ParcelFlags.ForSale | Parcel.ParcelFlags.ForSaleObjects | Parcel.ParcelFlags.SellParcelObjects); | 170 | newData.landFlags &= ~(uint) (Parcel.ParcelFlags.ForSale | Parcel.ParcelFlags.ForSaleObjects | Parcel.ParcelFlags.SellParcelObjects); |
171 | m_scene.LandChannel.updateLandObject(landData.localID, newData); | 171 | m_scene.LandChannel.UpdateLandObject(landData.localID, newData); |
172 | 172 | ||
173 | sendLandUpdateToAvatarsOverMe(); | 173 | sendLandUpdateToAvatarsOverMe(); |
174 | } | 174 | } |
@@ -234,7 +234,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
234 | try | 234 | try |
235 | { | 235 | { |
236 | over = | 236 | over = |
237 | m_scene.LandChannel.getLandObject((int) Math.Max(255, Math.Min(0, Math.Round(avatars[i].AbsolutePosition.X))), | 237 | m_scene.LandChannel.GetLandObject((int) Math.Max(255, Math.Min(0, Math.Round(avatars[i].AbsolutePosition.X))), |
238 | (int) Math.Max(255, Math.Min(0, Math.Round(avatars[i].AbsolutePosition.Y)))); | 238 | (int) Math.Max(255, Math.Min(0, Math.Round(avatars[i].AbsolutePosition.Y)))); |
239 | } | 239 | } |
240 | catch (Exception) | 240 | catch (Exception) |
@@ -332,7 +332,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
332 | } | 332 | } |
333 | } | 333 | } |
334 | 334 | ||
335 | m_scene.LandChannel.updateLandObject(landData.localID, newData); | 335 | m_scene.LandChannel.UpdateLandObject(landData.localID, newData); |
336 | } | 336 | } |
337 | 337 | ||
338 | #endregion | 338 | #endregion |