aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index c9d0d91..e55e215 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2287,8 +2287,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2287 public LSL_Vector llGetTorque() 2287 public LSL_Vector llGetTorque()
2288 { 2288 {
2289 m_host.AddScriptLPS(1); 2289 m_host.AddScriptLPS(1);
2290 Vector3 torque = m_host.ParentGroup.GetTorque(); 2290
2291 return new LSL_Vector(torque.X,torque.Y,torque.Z); 2291 return new LSL_Vector(m_host.ParentGroup.GetTorque());
2292 } 2292 }
2293 2293
2294 public void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local) 2294 public void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local)