- Fixed a small off by one error in sending MapBlocks
- Removed MapBlockData.Flags; it isn't used anywhere (maybe MapBlockData.RegionFlags replaced it?)0.6.0-stable
parent
fb9acb80ef
commit
423d950a69
|
@ -34,7 +34,6 @@ namespace OpenSim.Framework
|
||||||
{
|
{
|
||||||
public byte Access;
|
public byte Access;
|
||||||
public byte Agents;
|
public byte Agents;
|
||||||
public uint Flags;
|
|
||||||
public UUID MapImageId;
|
public UUID MapImageId;
|
||||||
public String Name;
|
public String Name;
|
||||||
public uint RegionFlags;
|
public uint RegionFlags;
|
||||||
|
|
|
@ -1399,7 +1399,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
for (int i = 0; i < mapBlocks2.Length; i++)
|
for (int i = 0; i < mapBlocks2.Length; i++)
|
||||||
{
|
{
|
||||||
sendingBlocks.Add(mapBlocks2[i]);
|
sendingBlocks.Add(mapBlocks2[i]);
|
||||||
if (((i + 1) == mapBlocks2.Length) || ((i % maxsend) == 0))
|
if (((i + 1) == mapBlocks2.Length) || (((i + 1) % maxsend) == 0))
|
||||||
{
|
{
|
||||||
SendMapBlockSplit(sendingBlocks, flag);
|
SendMapBlockSplit(sendingBlocks, flag);
|
||||||
sendingBlocks = new List<MapBlockData>();
|
sendingBlocks = new List<MapBlockData>();
|
||||||
|
|
Loading…
Reference in New Issue