mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
the simplest case for llGetLinkName also applies to the LINK_THIS constant
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
ec044537d5
commit
597df51f91
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user