mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
Make sure we're acking the sequence we think we are.
This commit is contained in:
parent
e51c134d02
commit
5e3fadf3b5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue