aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2010-03-23 17:04:37 +0100
committerMelanie Thielker2010-03-23 17:04:37 +0100
commite0b287961f51d776f830728c5e0fdaba5f7e53bc (patch)
treeefe2a67ec90fffc18080180ef49ba64dd0d11b09
parentUpdate acceleration to 0 on no tphysical. (diff)
downloadopensim-SC-e0b287961f51d776f830728c5e0fdaba5f7e53bc.zip
opensim-SC-e0b287961f51d776f830728c5e0fdaba5f7e53bc.tar.gz
opensim-SC-e0b287961f51d776f830728c5e0fdaba5f7e53bc.tar.bz2
opensim-SC-e0b287961f51d776f830728c5e0fdaba5f7e53bc.tar.xz
Change land overlay to send group owned status properly
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 9be94ce..6c9830c 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1014,6 +1014,10 @@ namespace OpenSim.Region.CoreModules.World.Land
1014 //Owner Flag 1014 //Owner Flag
1015 tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER); 1015 tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER);
1016 } 1016 }
1017 else if (currentParcelBlock.LandData.IsGroupOwned && remote_client.IsGroupMember(currentParcelBlock.LandData.GroupID))
1018 {
1019 tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_GROUP);
1020 }
1017 else if (currentParcelBlock.LandData.SalePrice > 0 && 1021 else if (currentParcelBlock.LandData.SalePrice > 0 &&
1018 (currentParcelBlock.LandData.AuthBuyerID == UUID.Zero || 1022 (currentParcelBlock.LandData.AuthBuyerID == UUID.Zero ||
1019 currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId)) 1023 currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId))