From 5e3fadf3b5afa355b56658703aacf37e70a8f51b Mon Sep 17 00:00:00 2001 From: Shpoike Date: Sat, 13 Nov 2021 22:22:57 +0000 Subject: [PATCH] Make sure we're acking the sequence we think we are. --- Quake/sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/sv_main.c b/Quake/sv_main.c index be520e55..a341f4c1 100644 --- a/Quake/sv_main.c +++ b/Quake/sv_main.c @@ -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;