aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 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 dff7269..8d95546 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2202,7 +2202,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2202 public LSL_Vector llGetTorque() 2202 public LSL_Vector llGetTorque()
2203 { 2203 {
2204 m_host.AddScriptLPS(1); 2204 m_host.AddScriptLPS(1);
2205 Vector3 torque = m_host.GetTorque(); 2205 Vector3 torque = m_host.ParentGroup.GetTorque();
2206 return new LSL_Vector(torque.X,torque.Y,torque.Z); 2206 return new LSL_Vector(torque.X,torque.Y,torque.Z);
2207 } 2207 }
2208 2208