diff options
author | Lee Salzman <[email protected]> | 2014-04-14 21:21:21 +0300 |
---|---|---|
committer | Lee Salzman <[email protected]> | 2014-04-14 21:21:21 +0300 |
commit | 518144338dd2d55192446e5ef37bc2eb97fe9bc8 (patch) | |
tree | 28a1f3bbda28d01b9f2e18013fe2cae2116cbafc /include | |
parent | 734a630bed798bc407282b54f1fb785449b55c9d (diff) | |
download | enet-518144338dd2d55192446e5ef37bc2eb97fe9bc8.tar.gz enet-518144338dd2d55192446e5ef37bc2eb97fe9bc8.zip |
fix maximumWaitingData handling to allow acknowledgements when the packet already exists
Diffstat (limited to 'include')
-rw-r--r-- | include/enet/enet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h index a9b6dac..d865dee 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -570,7 +570,7 @@ extern int enet_peer_throttle (ENetPeer *, enet_uint32); extern void enet_peer_reset_queues (ENetPeer *); extern void enet_peer_setup_outgoing_command (ENetPeer *, ENetOutgoingCommand *); extern ENetOutgoingCommand * enet_peer_queue_outgoing_command (ENetPeer *, const ENetProtocol *, ENetPacket *, enet_uint32, enet_uint16); -extern ENetIncomingCommand * enet_peer_queue_incoming_command (ENetPeer *, const ENetProtocol *, ENetPacket *, enet_uint32); +extern ENetIncomingCommand * enet_peer_queue_incoming_command (ENetPeer *, const ENetProtocol *, const void *, size_t, enet_uint32, enet_uint32); extern ENetAcknowledgement * enet_peer_queue_acknowledgement (ENetPeer *, const ENetProtocol *, enet_uint16); extern void enet_peer_dispatch_incoming_unreliable_commands (ENetPeer *, ENetChannel *); extern void enet_peer_dispatch_incoming_reliable_commands (ENetPeer *, ENetChannel *); |