]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
(Nexuiz) show people who are still downloading as -666 (like spectators) in scoreboar...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Nov 2007 13:25:10 +0000 (13:25 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Nov 2007 13:25:10 +0000 (13:25 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7667 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index d4e7485c4fc59aad42a89a9b8cf1f4cefb0adce4..d824393bf762b22ef43e2ed100b0407a14d90f67 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1932,6 +1932,9 @@ static void SV_UpdateToReliableMessages (void)
 
                // frags
                host_client->frags = (int)host_client->edict->fields.server->frags;
+               if(gamemode == GAME_NEXUIZ)
+                       if(!host_client->spawned)
+                               host_client->frags = -666;
                if (host_client->old_frags != host_client->frags)
                {
                        host_client->old_frags = host_client->frags;