delet player_joining

This commit is contained in:
Alug committed 2025-03-20 19:40:43 +01:00
1 parent 28af4e5277
commit a90c44c7d8
1 file changed
+2 -15
+2 -15
View File
@@ -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)
{