diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandObject.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index b800bb3..715b48d 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -167,7 +167,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
167 | 167 | ||
168 | // In a perfect world, this would have worked. | 168 | // In a perfect world, this would have worked. |
169 | // | 169 | // |
170 | // if ((landData.Flags & (uint)Parcel.ParcelFlags.AllowLandmark) != 0) | 170 | // if ((landData.Flags & (uint)ParcelFlags.AllowLandmark) != 0) |
171 | // regionFlags |= (uint)RegionFlags.AllowLandmark; | 171 | // regionFlags |= (uint)RegionFlags.AllowLandmark; |
172 | // if (landData.OwnerID == remote_client.AgentId) | 172 | // if (landData.OwnerID == remote_client.AgentId) |
173 | // regionFlags |= (uint)RegionFlags.AllowSetHome; | 173 | // regionFlags |= (uint)RegionFlags.AllowSetHome; |
@@ -226,7 +226,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
226 | newData.ClaimPrice = claimprice; | 226 | newData.ClaimPrice = claimprice; |
227 | newData.SalePrice = 0; | 227 | newData.SalePrice = 0; |
228 | newData.AuthBuyerID = UUID.Zero; | 228 | newData.AuthBuyerID = UUID.Zero; |
229 | newData.Flags &= ~(uint) (Parcel.ParcelFlags.ForSale | Parcel.ParcelFlags.ForSaleObjects | Parcel.ParcelFlags.SellParcelObjects); | 229 | newData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects); |
230 | m_scene.LandChannel.UpdateLandObject(landData.LocalID, newData); | 230 | m_scene.LandChannel.UpdateLandObject(landData.LocalID, newData); |
231 | 231 | ||
232 | sendLandUpdateToAvatarsOverMe(); | 232 | sendLandUpdateToAvatarsOverMe(); |
@@ -259,7 +259,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
259 | 259 | ||
260 | public bool isBannedFromLand(UUID avatar) | 260 | public bool isBannedFromLand(UUID avatar) |
261 | { | 261 | { |
262 | if ((landData.Flags & (uint) Parcel.ParcelFlags.UseBanList) > 0) | 262 | if ((landData.Flags & (uint) ParcelFlags.UseBanList) > 0) |
263 | { | 263 | { |
264 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); | 264 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); |
265 | entry.AgentID = avatar; | 265 | entry.AgentID = avatar; |
@@ -276,7 +276,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
276 | 276 | ||
277 | public bool isRestrictedFromLand(UUID avatar) | 277 | public bool isRestrictedFromLand(UUID avatar) |
278 | { | 278 | { |
279 | if ((landData.Flags & (uint) Parcel.ParcelFlags.UseAccessList) > 0) | 279 | if ((landData.Flags & (uint) ParcelFlags.UseAccessList) > 0) |
280 | { | 280 | { |
281 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); | 281 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); |
282 | entry.AgentID = avatar; | 282 | entry.AgentID = avatar; |
@@ -318,7 +318,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
318 | { | 318 | { |
319 | if (over.landData.LocalID == landData.LocalID) | 319 | if (over.landData.LocalID == landData.LocalID) |
320 | { | 320 | { |
321 | if (((over.landData.Flags & (uint)Parcel.ParcelFlags.AllowDamage) != 0) && m_scene.RegionInfo.RegionSettings.AllowDamage) | 321 | if (((over.landData.Flags & (uint)ParcelFlags.AllowDamage) != 0) && m_scene.RegionInfo.RegionSettings.AllowDamage) |
322 | avatars[i].Invulnerable = false; | 322 | avatars[i].Invulnerable = false; |
323 | else | 323 | else |
324 | avatars[i].Invulnerable = true; | 324 | avatars[i].Invulnerable = true; |