]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
botclients don't set spawned... so fix the -666 for Nexuiz downloaders feature to...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 22 Nov 2007 22:23:48 +0000 (22:23 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 22 Nov 2007 22:23:48 +0000 (22:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7712 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index d824393bf762b22ef43e2ed100b0407a14d90f67..5d9a08aefc21d0fe567752121f2b97eb3eafbbca 100644 (file)
--- 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)
                {