diff options
author | Melanie | 2010-05-07 00:52:52 +0100 |
---|---|---|
committer | Melanie | 2010-05-07 00:52:52 +0100 |
commit | 6182d71326cc4041d867a447270179442c768e7f (patch) | |
tree | 18237cc8f2972ee55c8d0360c2b818c8b6ae93f6 /OpenSim | |
parent | Remove land that is being abandoned from search. This is now consistent with (diff) | |
download | opensim-SC_OLD-6182d71326cc4041d867a447270179442c768e7f.zip opensim-SC_OLD-6182d71326cc4041d867a447270179442c768e7f.tar.gz opensim-SC_OLD-6182d71326cc4041d867a447270179442c768e7f.tar.bz2 opensim-SC_OLD-6182d71326cc4041d867a447270179442c768e7f.tar.xz |
Also remove sale and search flags on god owner change.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 1 |
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); |