aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 17603b6..9c929a7 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1533,6 +1533,7 @@ namespace OpenSim.Region.Framework.Scenes
1533*/ 1533*/
1534 public int GetStateSource() 1534 public int GetStateSource()
1535 { 1535 {
1536/*
1536 AgentCircuitData aCircuit = m_scene.AuthenticateHandler.GetAgentCircuitData(UUID); 1537 AgentCircuitData aCircuit = m_scene.AuthenticateHandler.GetAgentCircuitData(UUID);
1537 1538
1538 if (aCircuit != null && (aCircuit.teleportFlags != (uint)TeleportFlags.Default)) 1539 if (aCircuit != null && (aCircuit.teleportFlags != (uint)TeleportFlags.Default))
@@ -1543,6 +1544,8 @@ namespace OpenSim.Region.Framework.Scenes
1543 return 5; // StateSource.Teleporting 1544 return 5; // StateSource.Teleporting
1544 } 1545 }
1545 return 2; // StateSource.PrimCrossing 1546 return 2; // StateSource.PrimCrossing
1547*/
1548 return m_teleportFlags == TeleportFlags.Default ? 2 : 5;
1546 } 1549 }
1547 1550
1548 /// <summary> 1551 /// <summary>