process AgentUpdates in order with rest of packets. Only give higher priority to chat

avinationmerge
UbitUmarov 2014-08-13 00:17:03 +01:00
parent 20b3cab5d1
commit 0760fa3106
1 changed files with 4 additions and 2 deletions

View File

@ -1595,11 +1595,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
incomingPacket = new IncomingPacket((LLClientView)client, packet); incomingPacket = new IncomingPacket((LLClientView)client, packet);
} }
if (incomingPacket.Packet.Type == PacketType.AgentUpdate || // if (incomingPacket.Packet.Type == PacketType.AgentUpdate ||
incomingPacket.Packet.Type == PacketType.ChatFromViewer) // incomingPacket.Packet.Type == PacketType.ChatFromViewer)
if (incomingPacket.Packet.Type == PacketType.ChatFromViewer)
packetInbox.EnqueueHigh(incomingPacket); packetInbox.EnqueueHigh(incomingPacket);
else else
packetInbox.EnqueueLow(incomingPacket); packetInbox.EnqueueLow(incomingPacket);
} }
#region BinaryStats #region BinaryStats