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
This commit is contained in:
1 parent
5cb207edfa
commit
4877c81728
1 file changed
+3
-3
+3
-3
@@ -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)))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user