diff options
author | eihrul <eihrul> | 2007-10-12 02:27:45 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-10-12 02:27:45 +0000 |
commit | 870779bfb0bbb798aace21a76b4fd6b28eac60d1 (patch) | |
tree | a55e3a923f4aec2089bac588be991c9147264da3 /host.c | |
parent | f4d0dc72926f8eab910d19af3cd59aa60e7ce8e7 (diff) | |
download | enet-870779bfb0bbb798aace21a76b4fd6b28eac60d1.tar.gz enet-870779bfb0bbb798aace21a76b4fd6b28eac60d1.zip |
*** empty log message ***
Diffstat (limited to 'host.c')
-rw-r--r-- | host.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -169,6 +169,9 @@ enet_host_connect (ENetHost * host, const ENetAddress * address, size_t channelC enet_list_clear (& channel -> incomingReliableCommands); enet_list_clear (& channel -> incomingUnreliableCommands); + + channel -> currentReliableWindow = 0; + memset (channel -> reliableWindows, 0, sizeof (channel -> reliableWindows)); } command.header.command = ENET_PROTOCOL_COMMAND_CONNECT | ENET_PROTOCOL_COMMAND_FLAG_ACKNOWLEDGE; |