From: havoc Date: Tue, 19 Oct 2004 09:53:31 +0000 (+0000) Subject: fixed problem with lost scoreboard messages to a client that is still loading X-Git-Tag: xonotic-v0.1.0preview~5454 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=396303c42b93af7284071179ce839f985f980b23;p=xonotic%2Fdarkplaces.git fixed problem with lost scoreboard messages to a client that is still loading git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4670 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index b0f4f2a2..dc717643 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1144,7 +1144,7 @@ void SV_UpdateToReliableMessages (void) strcpy(host_client->old_name, host_client->name); for (j = 0, client = svs.clients;j < svs.maxclients;j++, client++) { - if (!client->spawned || !client->netconnection) + if (!client->netconnection) continue; MSG_WriteByte (&client->message, svc_updatename); MSG_WriteByte (&client->message, i); @@ -1156,7 +1156,7 @@ void SV_UpdateToReliableMessages (void) host_client->old_colors = host_client->colors; for (j = 0, client = svs.clients;j < svs.maxclients;j++, client++) { - if (!client->spawned || !client->netconnection) + if (!client->netconnection) continue; MSG_WriteByte (&client->message, svc_updatecolors); MSG_WriteByte (&client->message, i); @@ -1168,7 +1168,7 @@ void SV_UpdateToReliableMessages (void) host_client->old_frags = host_client->frags; for (j = 0, client = svs.clients;j < svs.maxclients;j++, client++) { - if (!client->spawned || !client->netconnection) + if (!client->netconnection) continue; MSG_WriteByte (&client->message, svc_updatefrags); MSG_WriteByte (&client->message, i);