Thanks, idb, for a patch that fixes Mantis#2400:

llSensor() range ignored with AGENT.
0.6.0-stable
Homer Horwitz 2008-10-15 20:49:28 +00:00
parent 98245e4bfa
commit d77ebb5761
1 changed files with 4 additions and 0 deletions

View File

@ -445,6 +445,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
if (ang_obj > ts.arc) keep = false; if (ang_obj > ts.arc) keep = false;
} }
} }
else
{
keep = false;
}
// Do not report gods, not even minor ones // Do not report gods, not even minor ones
if (keep && presence.GodLevel > 0.0) if (keep && presence.GodLevel > 0.0)