mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
fix clearing of outgoing command queue
This commit is contained in:
parent
47d2e192aa
commit
4f3dbbaeb1
1 changed files with 1 additions and 2 deletions
3
host.c
3
host.c
|
@ -124,8 +124,7 @@ enet_host_create (const ENetAddress * address, size_t peerCount, size_t channelL
|
|||
enet_list_clear (& currentPeer -> acknowledgements);
|
||||
enet_list_clear (& currentPeer -> sentReliableCommands);
|
||||
enet_list_clear (& currentPeer -> sentUnreliableCommands);
|
||||
enet_list_clear (& currentPeer -> outgoingReliableCommands);
|
||||
enet_list_clear (& currentPeer -> outgoingUnreliableCommands);
|
||||
enet_list_clear (& currentPeer -> outgoingCommands);
|
||||
enet_list_clear (& currentPeer -> dispatchedCommands);
|
||||
|
||||
enet_peer_reset (currentPeer);
|
||||
|
|
Loading…
Reference in a new issue