only check for nodes that are actually ingame

This commit is contained in:
Alug 2024-12-02 14:20:11 +01:00
parent a29e3a6c08
commit e391967fc6

View file

@ -1143,13 +1143,12 @@ static boolean SV_SendServerConfig(INT32 node)
#ifdef JOININGAME
#define SAVEGAMESIZE (768*1024)
static boolean SV_ResendingSavegameToAnyone(void)
{
INT32 i;
for (i = 0; i < MAXNETNODES; i++)
if (resendingsavegame[i])
if (nodeingame[i] && resendingsavegame[i])
return true;
return false;
}