aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorSignpostMarv2012-10-18 10:16:42 +0100
committerJustin Clark-Casey (justincc)2012-10-19 02:48:59 +0100
commit597df51f918327f2ac46bc452a3288ec624e029f (patch)
tree610bb234cbffbaad0f86f685a2fa40884a427ccd /OpenSim/Region/ScriptEngine
parentensuring that operand order in llGetLinkName is internally consistent (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
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