Also remove sale and search flags on god owner change.

slimupdates2
Melanie 2010-05-07 00:52:52 +01:00
parent 907fce8406
commit 6182d71326
1 changed files with 1 additions and 0 deletions

View File

@ -1144,6 +1144,7 @@ namespace OpenSim.Region.CoreModules.World.Land
land.LandData.OwnerID = ownerID;
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);