diff options
author | eihrul <eihrul> | 2007-10-12 05:18:46 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-10-12 05:18:46 +0000 |
commit | 0b49c1bbcd804ffd19b964075df6aa26045359ae (patch) | |
tree | 9a1c2b100d0887bfd94e368cce66513fc1c3161c | |
parent | 62c902e0a0a67a39bbab8ab0b29860a2a15af849 (diff) | |
download | enet-0b49c1bbcd804ffd19b964075df6aa26045359ae.tar.gz enet-0b49c1bbcd804ffd19b964075df6aa26045359ae.zip |
*** empty log message ***
-rw-r--r-- | host.c | 2 | ||||
-rw-r--r-- | peer.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -170,7 +170,7 @@ enet_host_connect (ENetHost * host, const ENetAddress * address, size_t channelC enet_list_clear (& channel -> incomingReliableCommands); enet_list_clear (& channel -> incomingUnreliableCommands); - channel -> currentReliableWindow = 0; + channel -> usedReliableWindows = 0; memset (channel -> reliableWindows, 0, sizeof (channel -> reliableWindows)); } @@ -192,8 +192,6 @@ enet_peer_receive (ENetPeer * peer, enet_uint8 channelID) { if (incomingCommand -> reliableSequenceNumber != channel -> incomingReliableSequenceNumber) incomingCommand = NULL; - else - channel -> incomingUnreliableSequenceNumber = incomingCommand -> unreliableSequenceNumber; } } |