From caf10245af091498147cf707d30b34cef6ab588b Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 20 Oct 2008 07:47:20 +0000 Subject: Mantis #2438 Fix llSetVehicleFloatParam to accept LSL_Float --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 2f5337f..b3f7ba7 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); } } } -- cgit v1.1