diff options
Ensure the show in search flag is cleared on ownership change. Also, when
land is reclaimed, reset it's for sale flags so it can't be bought again right
away.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 5750aa4..a691acd 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -1188,6 +1188,10 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1188 | land.LandData.ClaimDate = Util.UnixTimeSinceEpoch(); | 1188 | land.LandData.ClaimDate = Util.UnixTimeSinceEpoch(); |
1189 | land.LandData.GroupID = UUID.Zero; | 1189 | land.LandData.GroupID = UUID.Zero; |
1190 | land.LandData.IsGroupOwned = false; | 1190 | land.LandData.IsGroupOwned = false; |
1191 | land.LandData.SalePrice = 0; | ||
1192 | land.LandData.AuthBuyerID = UUID.Zero; | ||
1193 | land.LandData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory); | ||
1194 | |||
1191 | m_scene.ForEachClient(SendParcelOverlay); | 1195 | m_scene.ForEachClient(SendParcelOverlay); |
1192 | land.SendLandUpdateToClient(true, remote_client); | 1196 | land.SendLandUpdateToClient(true, remote_client); |
1193 | } | 1197 | } |