aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-14 22:02:43 +0000
committerJustin Clark-Casey (justincc)2013-03-14 22:02:43 +0000
commit04e806036ff6fe9246f7c1ab91f162cb5168bb07 (patch)
treee308784c4c205d63764f18f261778d27fdb16e42
parentrefactor: Use LSL_Vector(Vector3) constructor in llGetTorque() (diff)
downloadopensim-SC_OLD-04e806036ff6fe9246f7c1ab91f162cb5168bb07.zip
opensim-SC_OLD-04e806036ff6fe9246f7c1ab91f162cb5168bb07.tar.gz
opensim-SC_OLD-04e806036ff6fe9246f7c1ab91f162cb5168bb07.tar.bz2
opensim-SC_OLD-04e806036ff6fe9246f7c1ab91f162cb5168bb07.tar.xz
refactor: Use LSL_Vector(Vector3) constructor in llGetVel()
-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 e55e215..aadfe72 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2314,7 +2314,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2314 vel = m_host.Velocity; 2314 vel = m_host.Velocity;
2315 } 2315 }
2316 2316
2317 return new LSL_Vector(vel.X, vel.Y, vel.Z); 2317 return new LSL_Vector(vel);
2318 } 2318 }
2319 2319
2320 public LSL_Vector llGetAccel() 2320 public LSL_Vector llGetAccel()