From e55d226969300fbd3f1308afd8bf69e423012f2e Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 23 Aug 2020 16:45:15 -0400 Subject: more command queuing fixes --- protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocol.c') diff --git a/protocol.c b/protocol.c index 2b35e3e..0fc2253 100644 --- a/protocol.c +++ b/protocol.c @@ -625,7 +625,7 @@ enet_protocol_handle_send_fragment (ENetHost * host, ENetPeer * peer, const ENet fragmentLength); if (startCommand -> fragmentsRemaining <= 0) - enet_peer_dispatch_incoming_reliable_commands (peer, channel); + enet_peer_dispatch_incoming_reliable_commands (peer, channel, NULL); } return 0; @@ -743,7 +743,7 @@ enet_protocol_handle_send_unreliable_fragment (ENetHost * host, ENetPeer * peer, fragmentLength); if (startCommand -> fragmentsRemaining <= 0) - enet_peer_dispatch_incoming_unreliable_commands (peer, channel); + enet_peer_dispatch_incoming_unreliable_commands (peer, channel, NULL); } return 0; -- cgit v1.2.3