mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Fix some wrong handling of booleans for SeeAVs, AnyAVSounds and GroupAVSounds fields in sqlite3-database
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user