diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 74c2d89..93dfeea 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5726,13 +5726,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5726 | if (remain < 7) | 5726 | if (remain < 7) |
5727 | return; | 5727 | return; |
5728 | 5728 | ||
5729 | bool flexi = (LSL_Types.LSLInteger)rules.Data[idx++]; | 5729 | bool flexi = rules.GetLSLIntegerItem(idx++); |
5730 | int softness = (LSL_Types.LSLInteger)rules.Data[idx++]; | 5730 | int softness = rules.GetLSLIntegerItem(idx++); |
5731 | float gravity = (float)(LSL_Types.LSLFloat)rules.Data[idx++]; | 5731 | float gravity = (float)rules.GetLSLFloatItem(idx++); |
5732 | float friction = (float)(LSL_Types.LSLFloat)rules.Data[idx++]; | 5732 | float friction = (float)rules.GetLSLFloatItem(idx++); |
5733 | float wind = (float)(LSL_Types.LSLFloat)rules.Data[idx++]; | 5733 | float wind = (float)rules.GetLSLFloatItem(idx++); |
5734 | float tension = (float)(LSL_Types.LSLFloat)rules.Data[idx++]; | 5734 | float tension = (float)rules.GetLSLFloatItem(idx++); |
5735 | LSL_Types.Vector3 force = (LSL_Types.Vector3)rules.Data[idx++]; | 5735 | LSL_Types.Vector3 force = rules.GetVector3Item(idx++); |
5736 | 5736 | ||
5737 | SetFlexi(part, flexi, softness, gravity, friction, wind, tension, force); | 5737 | SetFlexi(part, flexi, softness, gravity, friction, wind, tension, force); |
5738 | 5738 | ||