aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
1 files changed, 7 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 e560d52..540ff98 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5159,7 +5159,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5159 public void llSetVehicleType(int type) 5159 public void llSetVehicleType(int type)
5160 { 5160 {
5161 m_host.AddScriptLPS(1); 5161 m_host.AddScriptLPS(1);
5162 NotImplemented("llSetVehicleType"); 5162 if (m_host.ParentGroup != null)
5163 {
5164 if (m_host.ParentGroup.RootPart != null)
5165 {
5166 m_host.ParentGroup.RootPart.SetVehicleType(type);
5167 }
5168 }
5163 } 5169 }
5164 5170
5165 //CFK 9/28: Most, but not all of the underlying plumbing between here and the physics modules is in 5171 //CFK 9/28: Most, but not all of the underlying plumbing between here and the physics modules is in