diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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 29bc9c7..d25f673 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2327,7 +2327,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2327 | public LSL_Vector llGetOmega() | 2327 | public LSL_Vector llGetOmega() |
2328 | { | 2328 | { |
2329 | m_host.AddScriptLPS(1); | 2329 | m_host.AddScriptLPS(1); |
2330 | return new LSL_Vector(m_host.AngularVelocity.X, m_host.AngularVelocity.Y, m_host.AngularVelocity.Z); | 2330 | |
2331 | return new LSL_Vector(m_host.AngularVelocity); | ||
2331 | } | 2332 | } |
2332 | 2333 | ||
2333 | public LSL_Float llGetTimeOfDay() | 2334 | public LSL_Float llGetTimeOfDay() |