Change land overlay to send group owned status properly
parent
add47befac
commit
e0b287961f
|
@ -1014,6 +1014,10 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
//Owner Flag
|
//Owner Flag
|
||||||
tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER);
|
tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER);
|
||||||
}
|
}
|
||||||
|
else if (currentParcelBlock.LandData.IsGroupOwned && remote_client.IsGroupMember(currentParcelBlock.LandData.GroupID))
|
||||||
|
{
|
||||||
|
tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_GROUP);
|
||||||
|
}
|
||||||
else if (currentParcelBlock.LandData.SalePrice > 0 &&
|
else if (currentParcelBlock.LandData.SalePrice > 0 &&
|
||||||
(currentParcelBlock.LandData.AuthBuyerID == UUID.Zero ||
|
(currentParcelBlock.LandData.AuthBuyerID == UUID.Zero ||
|
||||||
currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId))
|
currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId))
|
||||||
|
|
Loading…
Reference in New Issue