diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 9255d36..b8c8f32 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3377,6 +3377,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
3377 | 3377 | ||
3378 | if (!result) | 3378 | if (!result) |
3379 | regionHandle = m_regInfo.RegionHandle; | 3379 | regionHandle = m_regInfo.RegionHandle; |
3380 | else | ||
3381 | { | ||
3382 | // not in this region, undo the shift! | ||
3383 | position.X -= shiftx; | ||
3384 | position.Y -= shifty; | ||
3385 | } | ||
3380 | 3386 | ||
3381 | if (m_teleportModule != null) | 3387 | if (m_teleportModule != null) |
3382 | { | 3388 | { |