aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 6a9b8b7..9f13a10 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -932,15 +932,13 @@ namespace OpenSim.Region.ScriptEngine.Common
932 } 932 }
933 933
934 public LSL_Types.LSLInteger llDetectedGroup(int number) 934 public LSL_Types.LSLInteger llDetectedGroup(int number)
935 { 935 { //CFK: I *think* this is right, but am not sure.
936 m_host.AddScriptLPS(1); 936 m_host.AddScriptLPS(1);
937 EntityBase SensedObject = entityDetectedKey(number); 937 EntityBase SensedObject = entityDetectedKey(number);
938 if (SensedObject == null) 938 if (SensedObject == null)
939 return new LSL_Types.LSLInteger(0); 939 return new LSL_Types.LSLInteger(0);
940//I almost get this, but not quite. So comment out the problemm line until I 940 if (m_host.GroupID == m_host.ParentGroup.RootPart.GroupID) ;
941//figure it out 941 return new LSL_Types.LSLInteger(1);
942// if (m_host.GroupID == SensedObject.)
943// return new LSL_Types.LSLInteger(1);
944 return new LSL_Types.LSLInteger(0); 942 return new LSL_Types.LSLInteger(0);
945 } 943 }
946 944