aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoreihrul <eihrul>2007-10-12 05:18:46 +0000
committereihrul <eihrul>2007-10-12 05:18:46 +0000
commit0b49c1bbcd804ffd19b964075df6aa26045359ae (patch)
tree9a1c2b100d0887bfd94e368cce66513fc1c3161c
parent62c902e0a0a67a39bbab8ab0b29860a2a15af849 (diff)
downloadenet-0b49c1bbcd804ffd19b964075df6aa26045359ae.tar.gz
enet-0b49c1bbcd804ffd19b964075df6aa26045359ae.zip
*** empty log message ***
-rw-r--r--host.c2
-rw-r--r--peer.c2
2 files changed, 1 insertions, 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;
}
}