aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index a58a480..6449edf 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -941,8 +941,10 @@ namespace OpenSim.Region.ScriptEngine.Common
941 public LSL_Types.LSLInteger llDetectedLinkNumber(int number) 941 public LSL_Types.LSLInteger llDetectedLinkNumber(int number)
942 { 942 {
943 m_host.AddScriptLPS(1); 943 m_host.AddScriptLPS(1);
944 NotImplemented("llDetectedLinkNumber"); 944 EntityBase SensedObject = entityDetectedKey(number);
945 return 0; 945 if (SensedObject == null)
946 return 0;
947 return m_host.LinkNum;
946 } 948 }
947 949
948 public void llDie() 950 public void llDie()