Changed the Access flag on HGMap to 255 (does not exist) and clarified the other value 254 too. Meanings taken from libomv.
parent
7e2b35bbb3
commit
e1a4a8d857
|
@ -93,7 +93,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||||
mblock.X = (ushort)x;
|
mblock.X = (ushort)x;
|
||||||
mblock.Y = (ushort)y;
|
mblock.Y = (ushort)y;
|
||||||
mblock.Name = "";
|
mblock.Name = "";
|
||||||
mblock.Access = 254; // not here???
|
mblock.Access = 255; // means 'simulator does not exist'
|
||||||
mblock.MapImageId = UUID.Zero;
|
mblock.MapImageId = UUID.Zero;
|
||||||
mapBlocks.Add(mblock);
|
mapBlocks.Add(mblock);
|
||||||
}
|
}
|
||||||
|
|
|
@ -820,7 +820,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
MapBlockData block = new MapBlockData();
|
MapBlockData block = new MapBlockData();
|
||||||
block.X = (ushort)minX;
|
block.X = (ushort)minX;
|
||||||
block.Y = (ushort)minY;
|
block.Y = (ushort)minY;
|
||||||
block.Access = 254; // == not there
|
block.Access = 254; // means 'simulator is offline'
|
||||||
response.Add(block);
|
response.Add(block);
|
||||||
}
|
}
|
||||||
remoteClient.SendMapBlock(response, 0);
|
remoteClient.SendMapBlock(response, 0);
|
||||||
|
|
Loading…
Reference in New Issue