mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
mantis 8349: fix landmasks
This commit is contained in:
@@ -1460,7 +1460,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
for (int i = 0; i < bitmapLen; 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;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user