diff --git a/src/d_clisrv.c b/src/d_clisrv.c index c8a66e3a0..f8f3b4ee0 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -151,7 +151,6 @@ static UINT32 resynch_status[MAXNETNODES]; // 0 bit means synched for that playe static UINT8 resynch_sent[MAXNETNODES][MAXPLAYERS]; // what synch packets have we attempted to send to the player static UINT8 resynch_inprogress[MAXNETNODES]; static UINT8 resynch_local_inprogress = false; // WE are desynched and getting packets to fix it. -static UINT8 player_joining = false; UINT8 hu_resynching = 0; #ifdef SATURNSYNCH @@ -4882,7 +4881,6 @@ static void HandleConnect(SINT8 node) DEBFILE("send savegame\n"); } SV_AddWaitingPlayers(); - player_joining = true; } #else #ifndef NONET @@ -5843,8 +5841,6 @@ static void GetPackets(void) { SINT8 node; // The packet sender - player_joining = false; - while (HGetPacket()) { node = (SINT8)doomcom->remotenode; @@ -6492,21 +6488,12 @@ boolean TryRunTics(tic_t realtics) } #endif - if (neededtic > gametic) - { - hu_stopped = false; - } - - if (player_joining) - { - hu_stopped = true; - return false; - } - ticking = neededtic > gametic; if (ticking) { + hu_stopped = false; + // run the count * tics while (neededtic > gametic) {