aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-01-27 04:14:41 +0100
committerMelanie2011-01-27 05:33:46 +0000
commit17801bd78b339a2a85b318f87f8deae11adb8dc2 (patch)
tree9a633c54c61ed770ed1bbe11edaf7eeb57801a2d /OpenSim/Region/Framework/Scenes/Scene.cs
parentAlso set Godlike flag. Might be useful (diff)
downloadopensim-SC-17801bd78b339a2a85b318f87f8deae11adb8dc2.zip
opensim-SC-17801bd78b339a2a85b318f87f8deae11adb8dc2.tar.gz
opensim-SC-17801bd78b339a2a85b318f87f8deae11adb8dc2.tar.bz2
opensim-SC-17801bd78b339a2a85b318f87f8deae11adb8dc2.tar.xz
Add a TeleportFlags member to SP so we can tell how we got there.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 71d0f09..8edf3d3 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3279,6 +3279,10 @@ namespace OpenSim.Region.Framework.Scenes
3279 } 3279 }
3280 3280
3281 3281
3282 // Let the SP know how we got here. This has a lot of interesting
3283 // uses down the line.
3284 sp.TeleportFlags = (TeleportFlags)teleportFlags;
3285
3282 // In all cases, add or update the circuit data with the new agent circuit data and teleport flags 3286 // In all cases, add or update the circuit data with the new agent circuit data and teleport flags
3283 agent.teleportFlags = teleportFlags; 3287 agent.teleportFlags = teleportFlags;
3284 m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); 3288 m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent);