aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index a9af260..1b4674d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2562,11 +2562,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2562 } 2562 }
2563 2563
2564 Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); 2564 Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z);
2565
2566 // test if we're further away then 10m
2567 if (Util.GetDistanceTo(llpos, m_host.AbsolutePosition) > 10)
2568 return; // wiki says, if it's further away then 10m, silently fail.
2569
2570 Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z); 2565 Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z);
2571 2566
2572 // need the magnitude later 2567 // need the magnitude later