Remove land that is being abandoned from search. This is now consistent with

sale and reclaim.
slimupdates2
Melanie 2010-05-07 00:50:26 +01:00
parent 9ecebcdf13
commit 907fce8406
1 changed files with 1 additions and 0 deletions

View File

@ -1166,6 +1166,7 @@ namespace OpenSim.Region.CoreModules.World.Land
land.LandData.OwnerID = m_scene.RegionInfo.EstateSettings.EstateOwner;
land.LandData.GroupID = UUID.Zero;
land.LandData.IsGroupOwned = false;
land.LandData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory);
m_scene.ForEachClient(SendParcelOverlay);
land.SendLandUpdateToClient(true, remote_client);
}