diff options
-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 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 |