aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
authorMelanie2010-05-07 00:52:52 +0100
committerMelanie2010-05-07 00:52:52 +0100
commit6182d71326cc4041d867a447270179442c768e7f (patch)
tree18237cc8f2972ee55c8d0360c2b818c8b6ae93f6 /OpenSim/Region/CoreModules/World
parentRemove land that is being abandoned from search. This is now consistent with (diff)
downloadopensim-SC-6182d71326cc4041d867a447270179442c768e7f.zip
opensim-SC-6182d71326cc4041d867a447270179442c768e7f.tar.gz
opensim-SC-6182d71326cc4041d867a447270179442c768e7f.tar.bz2
opensim-SC-6182d71326cc4041d867a447270179442c768e7f.tar.xz
Also remove sale and search flags on god owner change.
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 32be160..139e6ff 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1144,6 +1144,7 @@ namespace OpenSim.Region.CoreModules.World.Land
1144 land.LandData.OwnerID = ownerID; 1144 land.LandData.OwnerID = ownerID;
1145 land.LandData.GroupID = UUID.Zero; 1145 land.LandData.GroupID = UUID.Zero;
1146 land.LandData.IsGroupOwned = false; 1146 land.LandData.IsGroupOwned = false;
1147 land.LandData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory);
1147 1148
1148 m_scene.ForEachClient(SendParcelOverlay); 1149 m_scene.ForEachClient(SendParcelOverlay);
1149 land.SendLandUpdateToClient(true, remote_client); 1150 land.SendLandUpdateToClient(true, remote_client);