diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/LandManagement/LandObject.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/LandManagement/LandObject.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/LandManagement/LandObject.cs b/OpenSim/Region/Environment/Modules/LandManagement/LandObject.cs index 69d3c05..f9684e6 100644 --- a/OpenSim/Region/Environment/Modules/LandManagement/LandObject.cs +++ b/OpenSim/Region/Environment/Modules/LandManagement/LandObject.cs | |||
@@ -27,12 +27,13 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Reflection; | ||
30 | using libsecondlife; | 31 | using libsecondlife; |
31 | using libsecondlife.Packets; | 32 | using libsecondlife.Packets; |
33 | using log4net; | ||
32 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
33 | using OpenSim.Framework.Console; | ||
34 | using OpenSim.Region.Environment.Scenes; | ||
35 | using OpenSim.Region.Environment.Interfaces; | 35 | using OpenSim.Region.Environment.Interfaces; |
36 | using OpenSim.Region.Environment.Scenes; | ||
36 | 37 | ||
37 | namespace OpenSim.Region.Environment.Modules.LandManagement | 38 | namespace OpenSim.Region.Environment.Modules.LandManagement |
38 | { | 39 | { |
@@ -46,7 +47,7 @@ namespace OpenSim.Region.Environment.Modules.LandManagement | |||
46 | { | 47 | { |
47 | #region Member Variables | 48 | #region Member Variables |
48 | 49 | ||
49 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 50 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
50 | 51 | ||
51 | protected LandData m_landData = new LandData(); | 52 | protected LandData m_landData = new LandData(); |
52 | protected List<SceneObjectGroup> primsOverMe = new List<SceneObjectGroup>(); | 53 | protected List<SceneObjectGroup> primsOverMe = new List<SceneObjectGroup>(); |
@@ -273,7 +274,7 @@ namespace OpenSim.Region.Environment.Modules.LandManagement | |||
273 | newData.claimPrice = claimprice; | 274 | newData.claimPrice = claimprice; |
274 | newData.salePrice = 0; | 275 | newData.salePrice = 0; |
275 | newData.authBuyerID = LLUUID.Zero; | 276 | newData.authBuyerID = LLUUID.Zero; |
276 | newData.landFlags &= ~(uint)(libsecondlife.Parcel.ParcelFlags.ForSale | Parcel.ParcelFlags.ForSaleObjects | Parcel.ParcelFlags.SellParcelObjects); | 277 | newData.landFlags &= ~(uint)(Parcel.ParcelFlags.ForSale | Parcel.ParcelFlags.ForSaleObjects | Parcel.ParcelFlags.SellParcelObjects); |
277 | m_scene.LandChannel.updateLandObject(landData.localID, newData); | 278 | m_scene.LandChannel.updateLandObject(landData.localID, newData); |
278 | 279 | ||
279 | sendLandUpdateToAvatarsOverMe(); | 280 | sendLandUpdateToAvatarsOverMe(); |