diff options
author | eihrul <eihrul> | 2007-10-21 19:14:54 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-10-21 19:14:54 +0000 |
commit | 1975dc0dc9c73cf9af1c75bad9e85275d02d4f27 (patch) | |
tree | 41565bbe70717dc50b062047d0c823cff156d78b /peer.c | |
parent | 3ec3a3cbe806526a4827a24b99d049f1935d9e19 (diff) | |
download | enet-1975dc0dc9c73cf9af1c75bad9e85275d02d4f27.tar.gz enet-1975dc0dc9c73cf9af1c75bad9e85275d02d4f27.zip |
*** empty log message ***
Diffstat (limited to 'peer.c')
-rw-r--r-- | peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -482,7 +482,7 @@ enet_peer_queue_acknowledgement (ENetPeer * peer, const ENetProtocol * command, if (command -> header.reliableSequenceNumber < channel -> incomingReliableSequenceNumber) reliableWindow += ENET_PEER_RELIABLE_WINDOWS; - if (reliableWindow < currentWindow || reliableWindow >= currentWindow + ENET_PEER_FREE_RELIABLE_WINDOWS - 1) + if (reliableWindow >= currentWindow + ENET_PEER_FREE_RELIABLE_WINDOWS - 1 && reliableWindow <= currentWindow + ENET_PEER_FREE_RELIABLE_WINDOWS) return NULL; } |