From 33add28b510cfedf9fd35807c2fb41d72eb0b173 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Fri, 26 Sep 2008 01:49:06 +0000 Subject: Mantis#2265. Thank you kindly, Idb for a patch that: Implements the LSL function llGetAttached(). --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs index 1404701..851e43b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs @@ -4709,8 +4709,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llGetAttached() { m_host.AddScriptLPS(1); - NotImplemented("llGetAttached"); - return 0; + return m_host.ParentGroup.RootPart.AttachmentPoint; } public LSL_Integer llGetFreeMemory() -- cgit v1.1