aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2019-02-04 20:12:08 +0000
committerUbitUmarov2019-02-04 20:12:08 +0000
commit364b718acf53177664e754b9975e527c59e0ade3 (patch)
treeb5f7dc943ab1118f638083f6689b201fe82e6f9a /OpenSim/Region
parentoptimizers are silly (diff)
downloadopensim-SC-364b718acf53177664e754b9975e527c59e0ade3.zip
opensim-SC-364b718acf53177664e754b9975e527c59e0ade3.tar.gz
opensim-SC-364b718acf53177664e754b9975e527c59e0ade3.tar.bz2
opensim-SC-364b718acf53177664e754b9975e527c59e0ade3.tar.xz
reduce the odds of MTU violation
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/TerrainCompressor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
index fa17102..a60381a 100644
--- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
+++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
@@ -185,7 +185,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
185 s = 2 * i; 185 s = 2 * i;
186 CreatePatchFromTerrainData(bitpack, terrData, map[s], map[s + 1]); 186 CreatePatchFromTerrainData(bitpack, terrData, map[s], map[s + 1]);
187 187
188 if (bitpack.BytePos > 980 && i != numberPatchs - 1) 188 if (bitpack.BytePos > 950 && i != numberPatchs - 1)
189 { 189 {
190 //finish this packet 190 //finish this packet
191 bitpack.PackBitsFromByte(END_OF_PATCHES); 191 bitpack.PackBitsFromByte(END_OF_PATCHES);