diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 9f9536a..94989de 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3860,17 +3860,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
3860 | (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) || | 3860 | (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) || |
3861 | (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 || | 3861 | (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 || |
3862 | (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || | 3862 | (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || |
3863 | ((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin)) | 3863 | (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0) |
3864 | { | 3864 | { |
3865 | // Don't restrict gods, estate managers, or land owners to | 3865 | // Don't restrict gods, estate managers, or land owners to |
3866 | // the TP point. This behaviour mimics agni. | 3866 | // the TP point. This behaviour mimics agni. |
3867 | if (land.LandData.LandingType == (byte)LandingType.LandingPoint && | 3867 | if (land.LandData.LandingType == (byte)LandingType.LandingPoint && |
3868 | land.LandData.UserLocation != Vector3.Zero && | 3868 | land.LandData.UserLocation != Vector3.Zero && |
3869 | GodLevel < 200 && | 3869 | GodLevel < 200 && |
3870 | ((land.LandData.OwnerID != m_uuid && | 3870 | ((land.LandData.OwnerID != m_uuid && |
3871 | (!m_scene.Permissions.IsGod(m_uuid)) && | 3871 | !m_scene.Permissions.IsGod(m_uuid) && |
3872 | (!m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid))) || (m_teleportFlags & TeleportFlags.ViaLocation) != 0) || | 3872 | !m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid)) || |
3873 | ((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin)) | 3873 | (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || |
3874 | (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0)) | ||
3874 | { | 3875 | { |
3875 | pos = land.LandData.UserLocation; | 3876 | pos = land.LandData.UserLocation; |
3876 | } | 3877 | } |