You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 02:11:06 +09:00
Added warning for SuppressUnreliableUnorderedAcks mismatch between sender and receiver
This commit is contained in:
@@ -100,6 +100,13 @@ namespace Lidgren.Network
|
||||
// seqNr is the actual nr received
|
||||
internal override void ReceiveAcknowledge(double now, int seqNr)
|
||||
{
|
||||
if (m_doFlowControl == false)
|
||||
{
|
||||
// we have no use for acks on this channel since we don't respect the window anyway
|
||||
m_connection.m_peer.LogWarning("SuppressUnreliableUnorderedAcks sender/receiver mismatch!");
|
||||
return;
|
||||
}
|
||||
|
||||
// late (dupe), on time or early ack?
|
||||
int relate = NetUtility.RelativeSequenceNumber(seqNr, m_windowStart);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user