aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
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
5314 5314
5315 //CFK 9/28: Most, but not all of the underlying plumbing between here and the physics modules is in 5315 //CFK 9/28: Most, but not all of the underlying plumbing between here and the physics modules is in
5316 //CFK 9/28: so these are not complete yet. 5316 //CFK 9/28: so these are not complete yet.
5317 public void llSetVehicleFloatParam(int param, float value) 5317 public void llSetVehicleFloatParam(int param, LSL_Float value)
5318 { 5318 {
5319 m_host.AddScriptLPS(1); 5319 m_host.AddScriptLPS(1);
5320 5320
@@ -5322,7 +5322,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5322 { 5322 {
5323 if (m_host.ParentGroup.RootPart != null) 5323 if (m_host.ParentGroup.RootPart != null)
5324 { 5324 {
5325 m_host.ParentGroup.RootPart.SetVehicleFloatParam(param, value); 5325 m_host.ParentGroup.RootPart.SetVehicleFloatParam(param, (float)value);
5326 } 5326 }
5327 } 5327 }
5328 } 5328 }