aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorSignpostMarv2012-09-06 10:54:45 +0100
committerJustin Clark-Casey (justincc)2012-09-08 00:14:39 +0100
commit874bde366aa3f834957f757aa56a7634becb4415 (patch)
tree159683757c1bbddaf646981fb4191336f28037fa /OpenSim/Region/ScriptEngine
parentrenaming to markdown file (diff)
downloadopensim-SC-874bde366aa3f834957f757aa56a7634becb4415.zip
opensim-SC-874bde366aa3f834957f757aa56a7634becb4415.tar.gz
opensim-SC-874bde366aa3f834957f757aa56a7634becb4415.tar.bz2
opensim-SC-874bde366aa3f834957f757aa56a7634becb4415.tar.xz
4096 is used in various places as the maximum height of a region, refactoring to be a constant
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index be22cb4..83c9739 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1948,7 +1948,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1948 pos.x > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a east-adjacent region. 1948 pos.x > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a east-adjacent region.
1949 pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. 1949 pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region.
1950 pos.y > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a north-adjacent region. 1950 pos.y > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a north-adjacent region.
1951 pos.z > 4096 // return FALSE if altitude than 4096m 1951 pos.z > Constants.RegionHeight // return FALSE if altitude than 4096m
1952 ) 1952 )
1953 ) 1953 )
1954 { 1954 {