better check for destinationnode
This commit is contained in:
parent
9bf9f6f9a3
commit
a3b50ad518
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue