From 470d0534434bd3a8b02963e7cb18fbdd19254e0e Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 6 Mar 2014 00:51:39 +0000 Subject: minor: slightly simplify code in LandObject.ContainsPoint() --- OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules/World') 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 { 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 { -- cgit v1.1