From 0b49c1bbcd804ffd19b964075df6aa26045359ae Mon Sep 17 00:00:00 2001 From: eihrul Date: Fri, 12 Oct 2007 05:18:46 +0000 Subject: *** empty log message *** --- host.c | 2 +- peer.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/host.c b/host.c index 70df4c3..ff703ce 100644 --- a/host.c +++ b/host.c @@ -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)); } diff --git a/peer.c b/peer.c index 442e242..11483f8 100644 --- a/peer.c +++ b/peer.c @@ -192,8 +192,6 @@ enet_peer_receive (ENetPeer * peer, enet_uint8 channelID) { if (incomingCommand -> reliableSequenceNumber != channel -> incomingReliableSequenceNumber) incomingCommand = NULL; - else - channel -> incomingUnreliableSequenceNumber = incomingCommand -> unreliableSequenceNumber; } } -- cgit v1.2.3