aboutsummaryrefslogtreecommitdiffhomepage
path: root/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'host.c')
-rw-r--r--host.c2
1 files changed, 1 insertions, 1 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));
}