diff options
author | Homer Horwitz | 2008-10-15 20:49:28 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-10-15 20:49:28 +0000 |
commit | d77ebb57615029e58f1cea2d26149598fce43360 (patch) | |
tree | b88fb8cf409e44d2a33cf75f55589b1090e6d45f /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | * minor: Oh go on, one more warning. Oooh, you are naughty (diff) | |
download | opensim-SC_OLD-d77ebb57615029e58f1cea2d26149598fce43360.zip opensim-SC_OLD-d77ebb57615029e58f1cea2d26149598fce43360.tar.gz opensim-SC_OLD-d77ebb57615029e58f1cea2d26149598fce43360.tar.bz2 opensim-SC_OLD-d77ebb57615029e58f1cea2d26149598fce43360.tar.xz |
Thanks, idb, for a patch that fixes Mantis#2400:
llSensor() range ignored with AGENT.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
445 | if (ang_obj > ts.arc) keep = false; | 445 | if (ang_obj > ts.arc) keep = false; |
446 | } | 446 | } |
447 | } | 447 | } |
448 | else | ||
449 | { | ||
450 | keep = false; | ||
451 | } | ||
448 | 452 | ||
449 | // Do not report gods, not even minor ones | 453 | // Do not report gods, not even minor ones |
450 | if (keep && presence.GodLevel > 0.0) | 454 | if (keep && presence.GodLevel > 0.0) |