mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Fixes a teleport issue when teleporting out of a region to a different one.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user