From: divverent Date: Thu, 22 Nov 2007 22:23:48 +0000 (+0000) Subject: botclients don't set spawned... so fix the -666 for Nexuiz downloaders feature to... X-Git-Tag: xonotic-v0.1.0preview~2772 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f01fef103ef8d8a2ac68855fa989d52ce479e8a9;p=xonotic%2Fdarkplaces.git botclients don't set spawned... so fix the -666 for Nexuiz downloaders feature to not show botclients as -666 frags git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7712 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index d824393b..5d9a08ae 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1933,7 +1933,7 @@ static void SV_UpdateToReliableMessages (void) // frags host_client->frags = (int)host_client->edict->fields.server->frags; if(gamemode == GAME_NEXUIZ) - if(!host_client->spawned) + if(!host_client->spawned && host_client->netconnection) host_client->frags = -666; if (host_client->old_frags != host_client->frags) {