patches: update patch

This commit is contained in:
Edo 2023-04-20 00:13:14 +02:00 committed by GitHub
parent 70d8316738
commit 74c3aecb9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ namespace patches
void sv_execute_client_message_stub(game::mp::client_t* client, game::msg_t* msg) void sv_execute_client_message_stub(game::mp::client_t* client, game::msg_t* msg)
{ {
if (client->reliableAcknowledge < 0) if ((client->reliableSequence - client->reliableAcknowledge) < 0)
{ {
client->reliableAcknowledge = client->reliableSequence; client->reliableAcknowledge = client->reliableSequence;
console::info("Negative reliableAcknowledge from %s - cl->reliableSequence is %i, reliableAcknowledge is %i\n", console::info("Negative reliableAcknowledge from %s - cl->reliableSequence is %i, reliableAcknowledge is %i\n",