Changed the Access flag on HGMap to 255 (does not exist) and clarified the other value 254 too. Meanings taken from libomv.

0.7.1-dev
Diva Canto 2011-05-09 18:28:16 -07:00
parent 8f2c391233
commit 009b2275c5
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
mblock.X = (ushort)x;
mblock.Y = (ushort)y;
mblock.Name = "";
mblock.Access = 254; // not here???
mblock.Access = 255; // means 'simulator does not exist'
mblock.MapImageId = UUID.Zero;
mapBlocks.Add(mblock);
}

View File

@ -820,7 +820,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
MapBlockData block = new MapBlockData();
block.X = (ushort)minX;
block.Y = (ushort)minY;
block.Access = 254; // == not there
block.Access = 254; // means 'simulator is offline'
response.Add(block);
}
remoteClient.SendMapBlock(response, 0);