aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index b8c8f32..f4a0d2e 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1710,7 +1710,12 @@ namespace OpenSim.Region.Framework.Scenes
1710 int thisx = (int)RegionInfo.RegionLocX; 1710 int thisx = (int)RegionInfo.RegionLocX;
1711 int thisy = (int)RegionInfo.RegionLocY; 1711 int thisy = (int)RegionInfo.RegionLocY;
1712 1712
1713 ulong newRegionHandle = 0; 1713
1714 // use this if no borders were crossed!
1715 ulong newRegionHandle
1716 = Util.UIntsToLong((uint)((thisx) * Constants.RegionSize),
1717 (uint)((thisy) * Constants.RegionSize));
1718
1714 Vector3 pos = attemptedPosition; 1719 Vector3 pos = attemptedPosition;
1715 1720
1716 if (TestBorderCross(attemptedPosition, Cardinals.W)) 1721 if (TestBorderCross(attemptedPosition, Cardinals.W))