From 4877c81728149b75571e4fd3902b327d146ccde1 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 6 Oct 2024 12:32:57 +0200 Subject: [PATCH] comment this out for now so v7 clients dont use vanilla resynch system keep sending PT_WILLRESENDGAMESTATE packets to everyone for now saturnpak will still mark the right clients so they will use the right consistency check without having to desynch first --- src/d_clisrv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 97ad460d6..996afbf7a 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -5397,7 +5397,7 @@ static void HandlePacketFromPlayer(SINT8 node) && !resendingsavegame[node] && savegameresendcooldown[node] <= I_GetTime() && !SV_ResendingSavegameToAnyone())) { -#ifndef SATURNPAK +//#ifndef SATURNPAK // we need to send this so the client can tell us if it can receive the savegame netbuffer->packettype = PT_WILLRESENDGAMESTATE; HSendPacket(node, true, 0, 0); @@ -5409,7 +5409,7 @@ static void HandlePacketFromPlayer(SINT8 node) SV_RequireResynch(node); resendingsavegame[node] = false; } -#else +/*#else if (can_receive_gamestate[node]) { // Tell the client we are about to resend them the gamestate @@ -5423,7 +5423,7 @@ static void HandlePacketFromPlayer(SINT8 node) SV_RequireResynch(node); resendingsavegame[node] = false; } -#endif +#endif*/ if ((!can_receive_gamestate[node] && cv_resynchattempts.value && resynch_score[node] <= (unsigned)cv_resynchattempts.value*250) || (can_receive_gamestate[node] && (gamestate_resend_counter[node] < cv_gamestateattempts.value))) {