From: divverent Date: Fri, 9 Nov 2007 13:25:10 +0000 (+0000) Subject: (Nexuiz) show people who are still downloading as -666 (like spectators) in scoreboar... X-Git-Tag: xonotic-v0.1.0preview~2814 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1f2d2ca46bba45d3f82bf97ba073244943ff6b38;p=xonotic%2Fdarkplaces.git (Nexuiz) show people who are still downloading as -666 (like spectators) in scoreboard. Should get replaced by some way to completely hide them from scoreboard, but still show them in status, ping etc. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7667 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index d4e7485c..d824393b 100644 --- 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;