Make sure we're acking the sequence we think we are.

This commit is contained in:
Shpoike 2021-11-13 22:22:57 +00:00
parent e51c134d02
commit 5e3fadf3b5
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ void SVFTE_Ack(client_t *client, int sequence)
client->lastacksequence = sequence;
frame = &client->frames[sequence&(client->numframes-1)];
if (frame->sequence >= 0)
if (frame->sequence == sequence)
{
frame->sequence = -1;
host_client->ping_times[host_client->num_pings%NUM_PING_TIMES] = qcvm->time - frame->timestamp;