mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
- Fixed a small off by one error in sending MapBlocks
- Removed MapBlockData.Flags; it isn't used anywhere (maybe MapBlockData.RegionFlags replaced it?)
This commit is contained in:
@@ -1399,7 +1399,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
for (int i = 0; i < mapBlocks2.Length; 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);
|
||||
sendingBlocks = new List<MapBlockData>();
|
||||
|
||||
Reference in New Issue
Block a user