aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs16
1 files changed, 14 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 a5aecd8..33218aa 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6315,13 +6315,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6315 public void llSetVehicleFlags(int flags) 6315 public void llSetVehicleFlags(int flags)
6316 { 6316 {
6317 m_host.AddScriptLPS(1); 6317 m_host.AddScriptLPS(1);
6318 NotImplemented("llSetVehicleFlags"); 6318 if (m_host.ParentGroup != null)
6319 {
6320 if (!m_host.ParentGroup.IsDeleted)
6321 {
6322 m_host.ParentGroup.RootPart.SetVehicleFlags(flags);
6323 }
6324 }
6319 } 6325 }
6320 6326
6321 public void llRemoveVehicleFlags(int flags) 6327 public void llRemoveVehicleFlags(int flags)
6322 { 6328 {
6323 m_host.AddScriptLPS(1); 6329 m_host.AddScriptLPS(1);
6324 NotImplemented("llRemoveVehicleFlags"); 6330 if (m_host.ParentGroup != null)
6331 {
6332 if (!m_host.ParentGroup.IsDeleted)
6333 {
6334 m_host.ParentGroup.RootPart.RemoveVehicleFlags(flags);
6335 }
6336 }
6325 } 6337 }
6326 6338
6327 public void llSitTarget(LSL_Vector offset, LSL_Rotation rot) 6339 public void llSitTarget(LSL_Vector offset, LSL_Rotation rot)