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 aadfe72..29bc9c7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2320,7 +2320,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2320 | public LSL_Vector llGetAccel() | 2320 | public LSL_Vector llGetAccel() |
2321 | { | 2321 | { |
2322 | m_host.AddScriptLPS(1); | 2322 | m_host.AddScriptLPS(1); |
2323 | return new LSL_Vector(m_host.Acceleration.X, m_host.Acceleration.Y, m_host.Acceleration.Z); | 2323 | |
2324 | return new LSL_Vector(m_host.Acceleration); | ||
2324 | } | 2325 | } |
2325 | 2326 | ||
2326 | public LSL_Vector llGetOmega() | 2327 | public LSL_Vector llGetOmega() |