From 423d950a695d38b13991bcd4b8c34d9c06e25a6b Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Thu, 2 Oct 2008 22:14:34 +0000 Subject: - Fixed a small off by one error in sending MapBlocks - Removed MapBlockData.Flags; it isn't used anywhere (maybe MapBlockData.RegionFlags replaced it?) --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 692de46..aae41fe 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(); -- cgit v1.1