better check for destinationnode
This commit is contained in:
1 parent
7b7d93a2d6
commit
f51cd6977a
1 file changed
+1
-1
+1
-1
@@ -297,7 +297,7 @@ static boolean Processackpak(void)
|
||||
node->remotefirstack = netbuffer->ackreturn;
|
||||
// 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);
|
||||
|
||||
Reference in new issue
Block a user