From: divverent Date: Wed, 13 Aug 2008 09:59:36 +0000 (+0000) Subject: also send MSG_ALL to people who are past ClientConnect, but not spawned yet (makes... X-Git-Tag: xonotic-v0.1.0preview~2133 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8ba70686a85151c5b4d30ea6d5c5a1b4e90b067e;p=xonotic%2Fdarkplaces.git also send MSG_ALL to people who are past ClientConnect, but not spawned yet (makes the invariant "he can receive MSG_ALL or he's not past ClientConnect yet" work, which CSQC may rely on). git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8451 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index ff02ac21..5a1485ef 100644 --- a/sv_main.c +++ b/sv_main.c @@ -2030,7 +2030,7 @@ static void SV_UpdateToReliableMessages (void) } for (j = 0, client = svs.clients;j < svs.maxclients;j++, client++) - if (client->netconnection && client->spawned) + if (client->netconnection && (client->spawned || client->clientconnectcalled)) // also send MSG_ALL to people who are past ClientConnect, but not spawned yet SZ_Write (&client->netconnection->message, sv.reliable_datagram.data, sv.reliable_datagram.cursize); SZ_Clear (&sv.reliable_datagram);