more command queuing fixes
This commit is contained in:
+2
-2
@@ -625,7 +625,7 @@ enet_protocol_handle_send_fragment (ENetHost * host, ENetPeer * peer, const ENet
|
|||||||
fragmentLength);
|
fragmentLength);
|
||||||
|
|
||||||
if (startCommand -> fragmentsRemaining <= 0)
|
if (startCommand -> fragmentsRemaining <= 0)
|
||||||
enet_peer_dispatch_incoming_reliable_commands (peer, channel);
|
enet_peer_dispatch_incoming_reliable_commands (peer, channel, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
@@ -743,7 +743,7 @@ enet_protocol_handle_send_unreliable_fragment (ENetHost * host, ENetPeer * peer,
|
|||||||
fragmentLength);
|
fragmentLength);
|
||||||
|
|
||||||
if (startCommand -> fragmentsRemaining <= 0)
|
if (startCommand -> fragmentsRemaining <= 0)
|
||||||
enet_peer_dispatch_incoming_unreliable_commands (peer, channel);
|
enet_peer_dispatch_incoming_unreliable_commands (peer, channel, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user