aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-03-06 00:51:39 +0000
committerJustin Clark-Casey (justincc)2014-03-06 00:51:39 +0000
commit470d0534434bd3a8b02963e7cb18fbdd19254e0e (patch)
tree468089fda5b21801afceb106bf361cab92f649ba
parentRemove array initialize calls in LMM - these are unnecessary as the VM alread... (diff)
downloadopensim-SC_OLD-470d0534434bd3a8b02963e7cb18fbdd19254e0e.zip
opensim-SC_OLD-470d0534434bd3a8b02963e7cb18fbdd19254e0e.tar.gz
opensim-SC_OLD-470d0534434bd3a8b02963e7cb18fbdd19254e0e.tar.bz2
opensim-SC_OLD-470d0534434bd3a8b02963e7cb18fbdd19254e0e.tar.xz
minor: slightly simplify code in LandObject.ContainsPoint()
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index 939512f..f5cb1d7 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -163,7 +163,7 @@ namespace OpenSim.Region.CoreModules.World.Land
163 { 163 {
164 if (x >= 0 && y >= 0 && x < m_scene.RegionInfo.RegionSizeX && y < m_scene.RegionInfo.RegionSizeY) 164 if (x >= 0 && y >= 0 && x < m_scene.RegionInfo.RegionSizeX && y < m_scene.RegionInfo.RegionSizeY)
165 { 165 {
166 return (LandBitmap[x / landUnit, y / landUnit] == true); 166 return LandBitmap[x / landUnit, y / landUnit];
167 } 167 }
168 else 168 else
169 { 169 {