diff options
author | Melanie | 2011-01-27 04:14:41 +0100 |
---|---|---|
committer | Melanie | 2011-01-27 04:14:41 +0100 |
commit | c43b892f3a644028391fd02a6c29cb88de5b356f (patch) | |
tree | cd9bf767b7e459abbb5ffeccfa72bdd13ef5fbc0 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Also set Godlike flag. Might be useful (diff) | |
download | opensim-SC-c43b892f3a644028391fd02a6c29cb88de5b356f.zip opensim-SC-c43b892f3a644028391fd02a6c29cb88de5b356f.tar.gz opensim-SC-c43b892f3a644028391fd02a6c29cb88de5b356f.tar.bz2 opensim-SC-c43b892f3a644028391fd02a6c29cb88de5b356f.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.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d9850d6..9bad644 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3472,6 +3472,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
3472 | } | 3472 | } |
3473 | 3473 | ||
3474 | 3474 | ||
3475 | // Let the SP know how we got here. This has a lot of interesting | ||
3476 | // uses down the line. | ||
3477 | sp.TeleportFlags = (TeleportFlags)teleportFlags; | ||
3478 | |||
3475 | // In all cases, add or update the circuit data with the new agent circuit data and teleport flags | 3479 | // In all cases, add or update the circuit data with the new agent circuit data and teleport flags |
3476 | agent.teleportFlags = teleportFlags; | 3480 | agent.teleportFlags = teleportFlags; |
3477 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); | 3481 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); |