fix destinationnode check in Processackpak

This commit is contained in:
Alug committed 2025-05-23 16:43:52 +02:00
1 parent 3233df9c6c
commit 877bd640f3
1 file changed
+1 -1
+1 -1
View File
@@ -307,7 +307,7 @@ static boolean Processackpak(void)
// Search the ackbuffer and free it
for (i = 0; i < MAXACKPACKETS; i++)
{
if (ackpak[i].acknum && ackpak[i].destinationnode == node - nodes
if (ackpak[i].acknum && ackpak[i].destinationnode == doomcom->remotenode
&& cmpack(ackpak[i].acknum, netbuffer->ackreturn) <= 0)
{
RemoveAck(i);