aboutsummaryrefslogtreecommitdiffhomepage
path: root/peer.c
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2023-02-04 23:20:39 -0500
committerLee Salzman <[email protected]>2023-02-04 23:20:39 -0500
commit9dde91d0035e83498847fe79b003b6764eb02343 (patch)
tree471f3d3bf99789f5522529ac3d680435be9eaffe /peer.c
parentca18dfb8f8f442808add71464f893c9da40afc56 (diff)
downloadenet-9dde91d0035e83498847fe79b003b6764eb02343.tar.gz
enet-9dde91d0035e83498847fe79b003b6764eb02343.zip
remove unnecessary sent unreliable list from peers
Diffstat (limited to 'peer.c')
-rw-r--r--peer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/peer.c b/peer.c
index d512ae5..91aa093 100644
--- a/peer.c
+++ b/peer.c
@@ -328,7 +328,6 @@ enet_peer_reset_queues (ENetPeer * peer)
enet_free (enet_list_remove (enet_list_begin (& peer -> acknowledgements)));
enet_peer_reset_outgoing_commands (& peer -> sentReliableCommands);
- enet_peer_reset_outgoing_commands (& peer -> sentUnreliableCommands);
enet_peer_reset_outgoing_commands (& peer -> outgoingCommands);
enet_peer_reset_outgoing_commands (& peer -> outgoingSendReliableCommands);
enet_peer_reset_incoming_commands (& peer -> dispatchedCommands);