diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 2f5337f505..b3f7ba742c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -5314,7 +5314,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api //CFK 9/28: Most, but not all of the underlying plumbing between here and the physics modules is in //CFK 9/28: so these are not complete yet. - public void llSetVehicleFloatParam(int param, float value) + public void llSetVehicleFloatParam(int param, LSL_Float value) { m_host.AddScriptLPS(1); @@ -5322,7 +5322,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { if (m_host.ParentGroup.RootPart != null) { - m_host.ParentGroup.RootPart.SetVehicleFloatParam(param, value); + m_host.ParentGroup.RootPart.SetVehicleFloatParam(param, (float)value); } } } diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 5670988b0e..6ca254a57d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -339,7 +339,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void llSetTorque(LSL_Vector torque, int local); void llSetTouchText(string text); void llSetVehicleFlags(int flags); - void llSetVehicleFloatParam(int param, float value); + void llSetVehicleFloatParam(int param, LSL_Float value); void llSetVehicleRotationParam(int param, LSL_Rotation rot); void llSetVehicleType(int type); void llSetVehicleVectorParam(int param, LSL_Vector vec); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 52916b50ad..78a183fc92 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -1554,7 +1554,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_LSL_Functions.llSetVehicleFlags(flags); } - public void llSetVehicleFloatParam(int param, float value) + public void llSetVehicleFloatParam(int param, LSL_Float value) { m_LSL_Functions.llSetVehicleFloatParam(param, value); }