From bf5f81992761149da556bebaabd321070cec3792 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Thu, 5 May 2022 11:16:59 +0100 Subject: [PATCH] found another small retransmit bug --- udpserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udpserver.cpp b/udpserver.cpp index 9c8db8c..3b30467 100644 --- a/udpserver.cpp +++ b/udpserver.cpp @@ -999,7 +999,7 @@ void udpServer::sendControl(CLIENT* c, quint8 type, quint16 seq) { p.seq = c->txSeq; SEQBUFENTRY s; - s.seqNum = seq; + s.seqNum = c->txSeq; s.timeSent = QTime::currentTime(); s.retransmitCount = 0; s.data = QByteArray::fromRawData((const char*)p.packet, sizeof(p));