diff options
author | Homer Horwitz | 2008-10-02 22:14:34 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-10-02 22:14:34 +0000 |
commit | 423d950a695d38b13991bcd4b8c34d9c06e25a6b (patch) | |
tree | 491670373ef950dea0b27becb011cc2714f8e189 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | - Fix invalid cast in OSHttpRequest (diff) | |
download | opensim-SC-423d950a695d38b13991bcd4b8c34d9c06e25a6b.zip opensim-SC-423d950a695d38b13991bcd4b8c34d9c06e25a6b.tar.gz opensim-SC-423d950a695d38b13991bcd4b8c34d9c06e25a6b.tar.bz2 opensim-SC-423d950a695d38b13991bcd4b8c34d9c06e25a6b.tar.xz |
- Fixed a small off by one error in sending MapBlocks
- Removed MapBlockData.Flags; it isn't used anywhere (maybe MapBlockData.RegionFlags replaced it?)
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
1399 | for (int i = 0; i < mapBlocks2.Length; i++) | 1399 | for (int i = 0; i < mapBlocks2.Length; i++) |
1400 | { | 1400 | { |
1401 | sendingBlocks.Add(mapBlocks2[i]); | 1401 | sendingBlocks.Add(mapBlocks2[i]); |
1402 | if (((i + 1) == mapBlocks2.Length) || ((i % maxsend) == 0)) | 1402 | if (((i + 1) == mapBlocks2.Length) || (((i + 1) % maxsend) == 0)) |
1403 | { | 1403 | { |
1404 | SendMapBlockSplit(sendingBlocks, flag); | 1404 | SendMapBlockSplit(sendingBlocks, flag); |
1405 | sendingBlocks = new List<MapBlockData>(); | 1405 | sendingBlocks = new List<MapBlockData>(); |