aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorUbitUmarov2018-08-07 20:38:58 +0100
committerUbitUmarov2018-08-07 20:38:58 +0100
commit88d638a0cfcfd18d3249cdf16ea49e3bf1d429ad (patch)
tree4cc3eb5a95b10fdd4d58d2ae010592af12bd1d01 /OpenSim/Region/CoreModules
parentand some more guard try{}catch{} on ub mesh processing (diff)
downloadopensim-SC-88d638a0cfcfd18d3249cdf16ea49e3bf1d429ad.zip
opensim-SC-88d638a0cfcfd18d3249cdf16ea49e3bf1d429ad.tar.gz
opensim-SC-88d638a0cfcfd18d3249cdf16ea49e3bf1d429ad.tar.bz2
opensim-SC-88d638a0cfcfd18d3249cdf16ea49e3bf1d429ad.tar.xz
mantis 8349: fix landmasks
Diffstat (limited to 'OpenSim/Region/CoreModules')
-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 229587b..2c9ff00 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -1460,7 +1460,7 @@ namespace OpenSim.Region.CoreModules.World.Land
1460 for (int i = 0; i < bitmapLen; i++) 1460 for (int i = 0; i < bitmapLen; i++)
1461 { 1461 {
1462 tempByte = LandData.Bitmap[i]; 1462 tempByte = LandData.Bitmap[i];
1463 for (int bitmask = 0x80; bitmask > 0; bitmask = bitmask >> 1) 1463 for (int bitmask = 0x01; bitmask < 0x100; bitmask = bitmask << 1)
1464 { 1464 {
1465 bool bit = (tempByte & bitmask) == bitmask; 1465 bool bit = (tempByte & bitmask) == bitmask;
1466 try 1466 try