reduce the odds of MTU violation

0.9.1.0-post-fixes
UbitUmarov 2019-02-04 20:12:08 +00:00
parent ef3b424b26
commit 364b718acf
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
s = 2 * i; s = 2 * i;
CreatePatchFromTerrainData(bitpack, terrData, map[s], map[s + 1]); CreatePatchFromTerrainData(bitpack, terrData, map[s], map[s + 1]);
if (bitpack.BytePos > 980 && i != numberPatchs - 1) if (bitpack.BytePos > 950 && i != numberPatchs - 1)
{ {
//finish this packet //finish this packet
bitpack.PackBitsFromByte(END_OF_PATCHES); bitpack.PackBitsFromByte(END_OF_PATCHES);