mantis 8349: fix landmasks
parent
390cb703f3
commit
88d638a0cf
|
@ -1460,7 +1460,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
for (int i = 0; i < bitmapLen; i++)
|
for (int i = 0; i < bitmapLen; i++)
|
||||||
{
|
{
|
||||||
tempByte = LandData.Bitmap[i];
|
tempByte = LandData.Bitmap[i];
|
||||||
for (int bitmask = 0x80; bitmask > 0; bitmask = bitmask >> 1)
|
for (int bitmask = 0x01; bitmask < 0x100; bitmask = bitmask << 1)
|
||||||
{
|
{
|
||||||
bool bit = (tempByte & bitmask) == bitmask;
|
bool bit = (tempByte & bitmask) == bitmask;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue