summaryrefslogtreecommitdiffhomepage
path: root/peer.c
diff options
context:
space:
mode:
authoreihrul <eihrul>2007-10-12 23:58:37 +0000
committereihrul <eihrul>2007-10-12 23:58:37 +0000
commitcc14faefab4f690157ca4deb8aae26b2ec16f65f (patch)
tree0808c46546802b627b7b6a845c89e5bc5a1b9d5a /peer.c
parentabf0c95e8a80adc3eff198324ac0ccb1ecfda954 (diff)
downloadenet-cc14faefab4f690157ca4deb8aae26b2ec16f65f.tar.gz
enet-cc14faefab4f690157ca4deb8aae26b2ec16f65f.zip
*** empty log message ***
Diffstat (limited to 'peer.c')
-rw-r--r--peer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/peer.c b/peer.c
index 1d6bab9..2cba2a6 100644
--- a/peer.c
+++ b/peer.c
@@ -642,6 +642,9 @@ enet_peer_queue_incoming_command (ENetPeer * peer, const ENetProtocol * command,
if (incomingCommand -> reliableSequenceNumber < reliableSequenceNumber)
break;
+ if (incomingCommand -> reliableSequenceNumber > reliableSequenceNumber)
+ continue;
+
if (incomingCommand -> unreliableSequenceNumber <= unreliableSequenceNumber)
{
if (incomingCommand -> unreliableSequenceNumber < unreliableSequenceNumber)