From d77ebb57615029e58f1cea2d26149598fce43360 Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Wed, 15 Oct 2008 20:49:28 +0000 Subject: Thanks, idb, for a patch that fixes Mantis#2400: llSensor() range ignored with AGENT. --- .../ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs index 8b3bc59..08f5491 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs @@ -445,6 +445,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins if (ang_obj > ts.arc) keep = false; } } + else + { + keep = false; + } // Do not report gods, not even minor ones if (keep && presence.GodLevel > 0.0) -- cgit v1.1