mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
minor: slightly simplify code in LandObject.ContainsPoint()
This commit is contained in:
@@ -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)
|
||||
{
|
||||
return (LandBitmap[x / landUnit, y / landUnit] == true);
|
||||
return LandBitmap[x / landUnit, y / landUnit];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user