mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-01 14:10:54 +00:00
Remove useless condition
This commit is contained in:
parent
ba91520eab
commit
f27de6c324
1 changed files with 6 additions and 9 deletions
|
@ -3563,8 +3563,6 @@ static void HandleConnect(SINT8 node)
|
||||||
DEBFILE("new node joined\n");
|
DEBFILE("new node joined\n");
|
||||||
}
|
}
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
if (netnodes[node].numplayerswaiting)
|
|
||||||
{
|
|
||||||
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) && newnode)
|
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) && newnode)
|
||||||
{
|
{
|
||||||
SV_SendSaveGame(node, false); // send a complete game state
|
SV_SendSaveGame(node, false); // send a complete game state
|
||||||
|
@ -3573,7 +3571,6 @@ static void HandleConnect(SINT8 node)
|
||||||
SV_AddWaitingPlayers(names[0], names[1]);
|
SV_AddWaitingPlayers(names[0], names[1]);
|
||||||
joindelay += cv_joindelay.value * TICRATE;
|
joindelay += cv_joindelay.value * TICRATE;
|
||||||
player_joining = true;
|
player_joining = true;
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue