From 0e68742afcb65d087ecbe5a7286e55950511966f Mon Sep 17 00:00:00 2001 From: tglion Date: Mon, 5 Sep 2016 07:58:22 +0200 Subject: Fix some wrong handling of booleans for SeeAVs, AnyAVSounds and GroupAVSounds fields in sqlite3-database Signed-off-by: UbitUmarov --- OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/CoreModules') diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 4324ddc..68c9c97 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs @@ -1435,6 +1435,9 @@ namespace OpenSim.Region.CoreModules.World.Land land.LandData.IsGroupOwned = false; land.LandData.SalePrice = 0; land.LandData.AuthBuyerID = UUID.Zero; + land.LandData.SeeAVs = true; + land.LandData.AnyAVSounds = true; + land.LandData.GroupAVSounds = true; land.LandData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory); m_scene.ForEachClient(SendParcelOverlay); land.SendLandUpdateToClient(true, remote_client); -- cgit v1.1