OOOPPPSSS

0.9.1.0-post-fixes
UbitUmarov 2019-03-03 12:15:28 +00:00
parent ca1993c72d
commit 80056abbe7
1 changed files with 2 additions and 2 deletions

View File

@ -4477,7 +4477,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{ {
lastpos = pos; lastpos = pos;
CreateImprovedTerseBlock(eu.Entity, buf.Data, ref pos, (eu.Flags & PrimUpdateFlags.Textures) != 0); CreateImprovedTerseBlock(eu.Entity, buf.Data, ref pos, (eu.Flags & PrimUpdateFlags.Textures) != 0);
if (pos <= LLUDPServer.MTU) if (pos < LLUDPServer.MTU)
{ {
tau.Add(eu); tau.Add(eu);
++count; ++count;
@ -4491,7 +4491,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// copy what we done in excess // copy what we done in excess
int extralen = pos - lastpos; int extralen = pos - lastpos;
if(extralen > 0) if(extralen > 0)
Buffer.BlockCopy(newbuf.Data, 18, buf.Data, lastpos, extralen); Buffer.BlockCopy(buf.Data, lastpos, newbuf.Data, 18, extralen);
pos = 18 + extralen; pos = 18 + extralen;