aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-08-28 19:42:28 -0400
committerTeravus Ovares (Dan Olivares)2009-08-28 19:42:28 -0400
commit9eb8c14e87986221f52872a697e49ec7059aa54b (patch)
treea211b891a37b0f911aa19b9b2cae524e618b732f /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parent* Allow corner prim crossings. Previously this was only on a single cardinal... (diff)
downloadopensim-SC-9eb8c14e87986221f52872a697e49ec7059aa54b.zip
opensim-SC-9eb8c14e87986221f52872a697e49ec7059aa54b.tar.gz
opensim-SC-9eb8c14e87986221f52872a697e49ec7059aa54b.tar.bz2
opensim-SC-9eb8c14e87986221f52872a697e49ec7059aa54b.tar.xz
* Deal with teleports to other virtual regions in the same scene.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index aae1823..46e3289 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2854,6 +2854,7 @@ namespace OpenSim.Region.Framework.Scenes
2854 else if (m_scene.TestBorderCross(pos2, Cardinals.N)) 2854 else if (m_scene.TestBorderCross(pos2, Cardinals.N))
2855 neighbor = HaveNeighbor(Cardinals.N, ref fix); 2855 neighbor = HaveNeighbor(Cardinals.N, ref fix);
2856 2856
2857
2857 // Makes sure avatar does not end up outside region 2858 // Makes sure avatar does not end up outside region
2858 if (neighbor < 0) 2859 if (neighbor < 0)
2859 AbsolutePosition = new Vector3( 2860 AbsolutePosition = new Vector3(