]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Only send the reliable (broadcast) datagram to SPAWNED clients - should fix client...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 13 Aug 2008 08:29:34 +0000 (08:29 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 13 Aug 2008 08:29:34 +0000 (08:29 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8447 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index 0ac5ac5d2475c97efd9da69ce912bf78e7a0750a..20c6c4d29afd33bf717afbd17b18bbb58dadc686 100644 (file)
--- 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)
+               if (client->netconnection && client->spawned)
                        SZ_Write (&client->netconnection->message, sv.reliable_datagram.data, sv.reliable_datagram.cursize);
 
        SZ_Clear (&sv.reliable_datagram);