Set ack and ackreturn to 0 for local packets always

This won't really have any in-game effect, this is just so the debugfile doesn't display the ack values of the PREVIOUS sent/got packet
This commit is contained in:
Monster Iestyn 2017-06-09 23:15:41 +01:00
parent 1119ffab0f
commit 12266e0f85
1 changed files with 1 additions and 0 deletions

View File

@ -1028,6 +1028,7 @@ boolean HSendPacket(INT32 node, boolean reliable, UINT8 acknum, size_t packetlen
#endif
return false;
}
netbuffer->ack = netbuffer->ackreturn = 0; // don't hold over values from last packet sent/received
M_Memcpy(&reboundstore[rebound_head], netbuffer,
doomcom->datalength);
reboundsize[rebound_head] = doomcom->datalength;