Remove useless variable

This commit is contained in:
LJ Sonic 2023-01-08 13:27:08 +01:00
parent 75b52171d2
commit 62986da9da
3 changed files with 0 additions and 13 deletions

View file

@ -1605,8 +1605,6 @@ void GetPackets(void)
{
SINT8 node; // The packet sender
player_joining = false;
while (HGetPacket())
{
node = (SINT8)doomcom->remotenode;
@ -1793,13 +1791,6 @@ boolean TryRunTics(tic_t realtics)
hu_stopped = false;
}
if (player_joining)
{
if (realtics)
hu_stopped = true;
return false;
}
if (ticking)
{
if (advancedemo)

View file

@ -37,8 +37,6 @@ tic_t joindelay = 0;
// The actual timeout will be longer depending on the savegame length
char playeraddress[MAXPLAYERS][64];
UINT8 player_joining = false;
consvar_t cv_showjoinaddress = CVAR_INIT ("showjoinaddress", "Off", CV_SAVE|CV_NETVAR, CV_OnOff, NULL);
consvar_t cv_allownewplayer = CVAR_INIT ("allowjoin", "On", CV_SAVE|CV_NETVAR, CV_OnOff, NULL);
@ -475,7 +473,6 @@ void PT_ClientJoin(SINT8 node)
SV_AddPlayer(node, names[i]);
joindelay += cv_joindelay.value * TICRATE;
player_joining = true;
}
void PT_AskInfoViaMS(SINT8 node)

View file

@ -25,7 +25,6 @@ void PT_AskInfo(SINT8 node);
extern tic_t jointimeout;
extern tic_t joindelay;
extern char playeraddress[MAXPLAYERS][64];
extern UINT8 player_joining;
extern consvar_t cv_showjoinaddress, cv_allownewplayer, cv_maxplayers, cv_joindelay, cv_rejointimeout;
#endif