diff --git a/OpenSim/Framework/MapBlockData.cs b/OpenSim/Framework/MapBlockData.cs index 7b5bfaafdc..2cb9985d2e 100644 --- a/OpenSim/Framework/MapBlockData.cs +++ b/OpenSim/Framework/MapBlockData.cs @@ -34,7 +34,6 @@ namespace OpenSim.Framework { public byte Access; public byte Agents; - public uint Flags; public UUID MapImageId; public String Name; public uint RegionFlags; diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 692de46ba4..aae41fe7a6 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -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();