diff options
author | Melanie | 2010-04-05 18:22:15 +0100 |
---|---|---|
committer | Melanie | 2010-04-05 18:22:15 +0100 |
commit | ba31b31ed08427f359f2ec54caf0f4e43f8c9b3d (patch) | |
tree | f2aadaca30ea0e286b524dbb2fa6d2a88423d873 /OpenSim/Region/CoreModules/World/Land | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into ... (diff) | |
download | opensim-SC-ba31b31ed08427f359f2ec54caf0f4e43f8c9b3d.zip opensim-SC-ba31b31ed08427f359f2ec54caf0f4e43f8c9b3d.tar.gz opensim-SC-ba31b31ed08427f359f2ec54caf0f4e43f8c9b3d.tar.bz2 opensim-SC-ba31b31ed08427f359f2ec54caf0f4e43f8c9b3d.tar.xz |
Merge branch 'careminster' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 7f6a0ad..5fe0e28 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -359,7 +359,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
359 | { | 359 | { |
360 | if (avatar.AbsolutePosition.Z < LandChannel.BAN_LINE_SAFETY_HIEGHT) | 360 | if (avatar.AbsolutePosition.Z < LandChannel.BAN_LINE_SAFETY_HIEGHT) |
361 | { | 361 | { |
362 | if (parcelAvatarIsEntering.IsBannedFromLand(avatar.UUID)) | 362 | if (parcelAvatarIsEntering.IsEitherBannedOrRestricted(avatar.UUID)) |
363 | { | 363 | { |
364 | SendYouAreBannedNotice(avatar); | 364 | SendYouAreBannedNotice(avatar); |
365 | ForceAvatarToPosition(avatar, m_scene.GetNearestAllowedPosition(avatar)); | 365 | ForceAvatarToPosition(avatar, m_scene.GetNearestAllowedPosition(avatar)); |
@@ -989,6 +989,10 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
989 | //Owner Flag | 989 | //Owner Flag |
990 | tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER); | 990 | tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER); |
991 | } | 991 | } |
992 | else if (currentParcelBlock.LandData.IsGroupOwned && remote_client.IsGroupMember(currentParcelBlock.LandData.GroupID)) | ||
993 | { | ||
994 | tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_GROUP); | ||
995 | } | ||
992 | else if (currentParcelBlock.LandData.SalePrice > 0 && | 996 | else if (currentParcelBlock.LandData.SalePrice > 0 && |
993 | (currentParcelBlock.LandData.AuthBuyerID == UUID.Zero || | 997 | (currentParcelBlock.LandData.AuthBuyerID == UUID.Zero || |
994 | currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId)) | 998 | currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId)) |