diff options
author | Justin Clark-Casey (justincc) | 2014-03-06 00:51:39 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-03-06 00:51:39 +0000 |
commit | 470d0534434bd3a8b02963e7cb18fbdd19254e0e (patch) | |
tree | 468089fda5b21801afceb106bf361cab92f649ba /OpenSim | |
parent | Remove array initialize calls in LMM - these are unnecessary as the VM alread... (diff) | |
download | opensim-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()
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 |
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 | { |