]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed problem with lost scoreboard messages to a client that is still loading
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Oct 2004 09:53:31 +0000 (09:53 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Oct 2004 09:53:31 +0000 (09:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4670 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index b0f4f2a2eb9a9fa642d4050465aa3341d9cd0f2e..dc717643f737377f610c82df3e893ba1a7416fd1 100644 (file)
--- 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);