diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 854169b..c9d0d91 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2191,7 +2191,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2191 | public LSL_Rotation llGetLocalRot() | 2191 | public LSL_Rotation llGetLocalRot() |
2192 | { | 2192 | { |
2193 | m_host.AddScriptLPS(1); | 2193 | m_host.AddScriptLPS(1); |
2194 | return new LSL_Rotation(m_host.RotationOffset.X, m_host.RotationOffset.Y, m_host.RotationOffset.Z, m_host.RotationOffset.W); | 2194 | |
2195 | return new LSL_Rotation(m_host.RotationOffset); | ||
2195 | } | 2196 | } |
2196 | 2197 | ||
2197 | public void llSetForce(LSL_Vector force, int local) | 2198 | public void llSetForce(LSL_Vector force, int local) |