1
0
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:
Michael Lidgren
2015-04-14 09:23:16 +02:00
parent 0b8caecfce
commit 77515da42d

View File

@@ -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);