* Fixes a teleport issue when teleporting out of a region to a different one.
parent
d4dd179547
commit
9f2f3afe22
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue