minor: slightly simplify code in LandObject.ContainsPoint()

0.8.0.3
Justin Clark-Casey (justincc) 2014-03-06 00:51:39 +00:00
parent ed14e97bb4
commit 470d053443
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ namespace OpenSim.Region.CoreModules.World.Land
{ {
if (x >= 0 && y >= 0 && x < m_scene.RegionInfo.RegionSizeX && y < m_scene.RegionInfo.RegionSizeY) if (x >= 0 && y >= 0 && x < m_scene.RegionInfo.RegionSizeX && y < m_scene.RegionInfo.RegionSizeY)
{ {
return (LandBitmap[x / landUnit, y / landUnit] == true); return LandBitmap[x / landUnit, y / landUnit];
} }
else else
{ {