Changed the Access flag on HGMap to 255 (does not exist) and clarified the other value 254 too. Meanings taken from libomv.
parent
8f2c391233
commit
009b2275c5
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue