* Fixes a teleport issue when teleporting out of a region to a different one.

This commit is contained in:
Teravus Ovares (Dan Olivares)
2009-08-30 02:49:50 -04:00
parent d4dd179547
commit 9f2f3afe22

View File

@@ -3377,6 +3377,12 @@ namespace OpenSim.Region.Framework.Scenes
if (!result)
regionHandle = m_regInfo.RegionHandle;
else
{
// not in this region, undo the shift!
position.X -= shiftx;
position.Y -= shifty;
}
if (m_teleportModule != null)
{