aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2012-01-10 20:34:43 +0000
committerMelanie2012-01-10 20:34:43 +0000
commita4c2e7f5997c74ae0006ff573f7576bfc6c1aa82 (patch)
treead7e9b44924581a13f04b6292e2be52e00bd7673 /OpenSim/Region/Framework/Scenes
parentMerge branch 'master' into careminster (diff)
parentRemove DEBUG option (diff)
downloadopensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.zip
opensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.tar.gz
opensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.tar.bz2
opensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 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 }