fix splitscreen clients being unable to join saturn servers
lmao oops idk dumb copy paste sry
This commit is contained in:
1 parent
6cbb8a36cf
commit
cd02242a01
1 file changed
+2
-6
+2
-6
@@ -4121,7 +4121,7 @@ static void Command_ResendGamestate(void)
|
||||
}
|
||||
|
||||
playernum = nametonum(COM_Argv(1));
|
||||
if (playernum == -1 || playernum == 0)
|
||||
if (playernum <= 0)
|
||||
return;
|
||||
|
||||
doomdata_t *netbuffer = DOOMCOM_DATA(doomcom);
|
||||
@@ -4591,7 +4591,7 @@ static boolean SV_AddWaitingPlayers(SINT8 node)
|
||||
|
||||
for (n = 0; n < MAXNETNODES; n++)
|
||||
{
|
||||
if (nodetoplayer[n] == newplayernum ||
|
||||
if (nodetoplayer[n] == newplayernum ||
|
||||
nodetoplayer2[n] == newplayernum ||
|
||||
nodetoplayer3[n] == newplayernum ||
|
||||
nodetoplayer4[n] == newplayernum)
|
||||
@@ -4883,10 +4883,6 @@ static const char *GetRefuseMessage(SINT8 node)
|
||||
{
|
||||
return va("Maximum players reached: %d", maxplayers);
|
||||
}
|
||||
else if (cc->localplayers != 1)
|
||||
{
|
||||
return "Wrong player count.";
|
||||
}
|
||||
else if (netgame && !cc->localplayers) // Stealth join?
|
||||
{
|
||||
return "No players from\nthis node.";
|
||||
|
||||
Reference in new issue
Block a user