diff options
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 6229237..d4377ad 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |||
@@ -745,12 +745,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
745 | // Assign sequence number here to prevent out of order packets | 745 | // Assign sequence number here to prevent out of order packets |
746 | if (packet.Header.Sequence == 0) | 746 | if (packet.Header.Sequence == 0) |
747 | { | 747 | { |
748 | packet.Header.Sequence = NextPacketSequenceNumber(); | ||
749 | item.Sequence = packet.Header.Sequence; | ||
750 | item.TickCount = Environment.TickCount; | ||
751 | |||
752 | lock (m_NeedAck) | 748 | lock (m_NeedAck) |
753 | { | 749 | { |
750 | packet.Header.Sequence = NextPacketSequenceNumber(); | ||
751 | item.Sequence = packet.Header.Sequence; | ||
752 | item.TickCount = Environment.TickCount; | ||
753 | |||
754 | // We want to see that packet arrive if it's reliable | 754 | // We want to see that packet arrive if it's reliable |
755 | if (packet.Header.Reliable) | 755 | if (packet.Header.Reliable) |
756 | { | 756 | { |