aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 1869417..3c9bde8 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3851,17 +3851,18 @@ namespace OpenSim.Region.Framework.Scenes
3851 (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) || 3851 (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) ||
3852 (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 || 3852 (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 ||
3853 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || 3853 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 ||
3854 ((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin)) 3854 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0)
3855 { 3855 {
3856 // Don't restrict gods, estate managers, or land owners to 3856 // Don't restrict gods, estate managers, or land owners to
3857 // the TP point. This behaviour mimics agni. 3857 // the TP point. This behaviour mimics agni.
3858 if (land.LandData.LandingType == (byte)LandingType.LandingPoint && 3858 if (land.LandData.LandingType == (byte)LandingType.LandingPoint &&
3859 land.LandData.UserLocation != Vector3.Zero && 3859 land.LandData.UserLocation != Vector3.Zero &&
3860 GodLevel < 200 && 3860 GodLevel < 200 &&
3861 ((land.LandData.OwnerID != m_uuid && 3861 ((land.LandData.OwnerID != m_uuid &&
3862 (!m_scene.Permissions.IsGod(m_uuid)) && 3862 !m_scene.Permissions.IsGod(m_uuid) &&
3863 (!m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid))) || (m_teleportFlags & TeleportFlags.ViaLocation) != 0) || 3863 !m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid)) ||
3864 ((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin)) 3864 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 ||
3865 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0))
3865 { 3866 {
3866 pos = land.LandData.UserLocation; 3867 pos = land.LandData.UserLocation;
3867 } 3868 }