From: divverent Date: Wed, 13 Aug 2008 08:29:34 +0000 (+0000) Subject: Only send the reliable (broadcast) datagram to SPAWNED clients - should fix client... X-Git-Tag: xonotic-v0.1.0preview~2135 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=00968e846dfe5ab8c422cedaf8350a8041ff777b;p=xonotic%2Fdarkplaces.git Only send the reliable (broadcast) datagram to SPAWNED clients - should fix client disconnects for CSQC temp entities sent to MSG_ALL. Hope this won't break anything else. Running my servers with this soon. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8447 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index 0ac5ac5d..20c6c4d2 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) + if (client->netconnection && client->spawned) SZ_Write (&client->netconnection->message, sv.reliable_datagram.data, sv.reliable_datagram.cursize); SZ_Clear (&sv.reliable_datagram);