the simplest case for llGetLinkName also applies to the LINK_THIS constant

connector_plugin
SignpostMarv 2012-10-18 10:16:42 +01:00 committed by Justin Clark-Casey (justincc)
parent ec044537d5
commit 597df51f91
1 changed files with 1 additions and 1 deletions

View File

@ -3828,7 +3828,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
// simplest case, this prims link number
if (linknum == m_host.LinkNum)
if (linknum == m_host.LinkNum || linknum == ScriptBaseClass.LINK_THIS)
return m_host.Name;
// Single prim