From fdb1ce827bc2058b294fadd4cd76f43fd23e8bd7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 6 Mar 2019 22:48:00 +0000 Subject: [PATCH] fix packet type --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 4158adcdd6..c049cc81e6 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -3898,13 +3898,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP zc.AddByte(1); // block count + ThrottleOutPacketType ptype = ThrottleOutPacketType.Task; if (ent is ScenePresence) + { CreateAvatarUpdateBlock(ent as ScenePresence, zc); + ptype |= ThrottleOutPacketType.HighPriority; + } else CreatePrimUpdateBlock(ent as SceneObjectPart, (ScenePresence)SceneAgent, zc); buf.DataLength = zc.Finish(); - m_udpServer.SendUDPPacket(m_udpClient, buf, ThrottleOutPacketType.Task | ThrottleOutPacketType.HighPriority, null, false, false); + m_udpServer.SendUDPPacket(m_udpClient, buf, ptype , null, false, false); } public void SendEntityTerseUpdateImmediate(ISceneEntity ent)