From cc14faefab4f690157ca4deb8aae26b2ec16f65f Mon Sep 17 00:00:00 2001 From: eihrul Date: Fri, 12 Oct 2007 23:58:37 +0000 Subject: *** empty log message *** --- peer.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.3