aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 1 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 c195405..0b60aee 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2278,8 +2278,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2278 pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. 2278 pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region.
2279 pos.x > (World.RegionInfo.RegionSizeX + 10) || // return FALSE if more than 10 meters into a east-adjacent region. 2279 pos.x > (World.RegionInfo.RegionSizeX + 10) || // return FALSE if more than 10 meters into a east-adjacent region.
2280 pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. 2280 pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region.
2281 pos.y > (World.RegionInfo.RegionSizeY + 10) || // return FALSE if more than 10 meters into a north-adjacent region. 2281 pos.y > (World.RegionInfo.RegionSizeY + 10) // return FALSE if more than 10 meters into a north-adjacent region.
2282 pos.z > Constants.RegionHeight // return FALSE if altitude than 4096m
2283 ) 2282 )
2284 ) 2283 )
2285 { 2284 {
@@ -3099,9 +3098,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3099 3098
3100 float dist = (float)llVecDist(llGetPos(), pos); 3099 float dist = (float)llVecDist(llGetPos(), pos);
3101 3100
3102 if (dist > m_ScriptDistanceFactor * 10.0f)
3103 return;
3104
3105 TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory); 3101 TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory);
3106 3102
3107 if (item == null) 3103 if (item == null)