mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
possible fix for unsequenced packets
This commit is contained in:
parent
33974e01a2
commit
d381b4b7af
1 changed files with 3 additions and 1 deletions
4
peer.c
4
peer.c
|
@ -517,7 +517,9 @@ enet_peer_queue_outgoing_command (ENetPeer * peer, const ENetProtocol * command,
|
|||
else
|
||||
if (command -> header.flags & ENET_PROTOCOL_FLAG_UNSEQUENCED)
|
||||
{
|
||||
outgoingCommand -> reliableSequenceNumber = channel -> outgoingReliableSequenceNumber;
|
||||
++ channel -> outgoingUnsequencedGroup;
|
||||
|
||||
outgoingCommand -> reliableSequenceNumber = 0;
|
||||
outgoingCommand -> unreliableSequenceNumber = 0;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue