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.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 ecaa672..229ad1d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2506,8 +2506,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2506 pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. 2506 pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region.
2507 pos.x > (World.RegionInfo.RegionSizeX + 10) || // return FALSE if more than 10 meters into a east-adjacent region. 2507 pos.x > (World.RegionInfo.RegionSizeX + 10) || // return FALSE if more than 10 meters into a east-adjacent region.
2508 pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. 2508 pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region.
2509 pos.y > (World.RegionInfo.RegionSizeY + 10) || // return FALSE if more than 10 meters into a north-adjacent region. 2509 pos.y > (World.RegionInfo.RegionSizeY + 10) // return FALSE if more than 10 meters into a north-adjacent region.
2510 pos.z > Constants.RegionHeight // return FALSE if altitude than 4096m
2511 ) 2510 )
2512 ) 2511 )
2513 { 2512 {
@@ -3310,9 +3309,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3310 3309
3311 float dist = (float)llVecDist(llGetPos(), pos); 3310 float dist = (float)llVecDist(llGetPos(), pos);
3312 3311
3313 if (dist > m_ScriptDistanceFactor * 10.0f)
3314 return;
3315
3316 TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory); 3312 TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory);
3317 3313
3318 if (item == null) 3314 if (item == null)