aboutsummaryrefslogtreecommitdiffhomepage
path: root/peer.c
diff options
context:
space:
mode:
authoreihrul <eihrul>2007-10-12 05:21:57 +0000
committereihrul <eihrul>2007-10-12 05:21:57 +0000
commit7bcef65dbdddba239f7f38cd9cf199dd3266733f (patch)
treec1cf01d2c68eb91faf09f2f89f10e5e48c417393 /peer.c
parent0b49c1bbcd804ffd19b964075df6aa26045359ae (diff)
downloadenet-7bcef65dbdddba239f7f38cd9cf199dd3266733f.tar.gz
enet-7bcef65dbdddba239f7f38cd9cf199dd3266733f.zip
*** empty log message ***
Diffstat (limited to 'peer.c')
-rw-r--r--peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.c b/peer.c
index 11483f8..3bd3ba6 100644
--- a/peer.c
+++ b/peer.c
@@ -572,7 +572,7 @@ enet_peer_queue_incoming_command (ENetPeer * peer, const ENetProtocol * command,
reliableSequenceNumber += 0x10000;
}
- if (reliableWindow < currentWindow || reliableWindow >= currentWindow + ENET_PEER_RELIABLE_WINDOWS / 2)
+ if (reliableWindow < currentWindow || reliableWindow >= currentWindow + ENET_PEER_FREE_RELIABLE_WINDOWS)
goto freePacket;
}