diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index f9b598f..a52263b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -516,7 +516,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
516 | SceneObjectPart sitPart = ParentPart; | 516 | SceneObjectPart sitPart = ParentPart; |
517 | 517 | ||
518 | if (sitPart != null) | 518 | if (sitPart != null) |
519 | return sitPart.AbsolutePosition; | 519 | return sitPart.AbsolutePosition + (m_pos * sitPart.GetWorldRotation()); |
520 | } | 520 | } |
521 | 521 | ||
522 | return m_pos; | 522 | return m_pos; |