diff options
author | SignpostMarv | 2012-10-18 10:16:42 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-19 02:48:59 +0100 |
commit | 597df51f918327f2ac46bc452a3288ec624e029f (patch) | |
tree | 610bb234cbffbaad0f86f685a2fa40884a427ccd /OpenSim/Region/ScriptEngine/Shared | |
parent | ensuring that operand order in llGetLinkName is internally consistent (diff) | |
download | opensim-SC-597df51f918327f2ac46bc452a3288ec624e029f.zip opensim-SC-597df51f918327f2ac46bc452a3288ec624e029f.tar.gz opensim-SC-597df51f918327f2ac46bc452a3288ec624e029f.tar.bz2 opensim-SC-597df51f918327f2ac46bc452a3288ec624e029f.tar.xz |
the simplest case for llGetLinkName also applies to the LINK_THIS constant
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 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 42ab39a..e8d0bea 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3828,7 +3828,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3828 | } | 3828 | } |
3829 | 3829 | ||
3830 | // simplest case, this prims link number | 3830 | // simplest case, this prims link number |
3831 | if (linknum == m_host.LinkNum) | 3831 | if (linknum == m_host.LinkNum || linknum == ScriptBaseClass.LINK_THIS) |
3832 | return m_host.Name; | 3832 | return m_host.Name; |
3833 | 3833 | ||
3834 | // Single prim | 3834 | // Single prim |