aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2020-08-23 16:45:15 -0400
committerLee Salzman <[email protected]>2020-08-23 16:45:15 -0400
commite55d226969300fbd3f1308afd8bf69e423012f2e (patch)
treede471c8a4e40b0725fcb44a1315d537f25640a96
parent259e5dbd23d18a7d78b548ddbb99d66fa4beebd6 (diff)
downloadenet-e55d226969300fbd3f1308afd8bf69e423012f2e.tar.gz
enet-e55d226969300fbd3f1308afd8bf69e423012f2e.zip
more command queuing fixes
-rw-r--r--protocol.c4
1 files changed, 2 insertions, 2 deletions
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;