Prevent acks from being appended to viewer effect packets, since

that has been known to cause an exception in libomv ^^
This commit is contained in:
Melanie Thielker
2008-07-29 22:40:23 +00:00
parent 0c4475725a
commit c80493ed4d

View File

@@ -248,6 +248,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private void AddAcks(ref Packet packet)
{
// This packet type has shown to have issues with
// acks being appended to the payload, just don't send
// any with this packet type until libsl is fixed.
//
if(packet is libsecondlife.Packets.ViewerEffectPacket)
return;
// Add acks to outgoing packets
//
if (m_PendingAcks.Count > 0)