From: Rudolf Polzer Date: Tue, 30 Aug 2011 14:08:14 +0000 (+0200) Subject: show dead CA players in scoreboard X-Git-Tag: xonotic-v0.5.0~22 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=990a560ad180112673dc4d15d331a5cf5f776854;p=xonotic%2Fxonotic-data.pk3dir.git show dead CA players in scoreboard --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 598c6740f..26d37400f 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -739,6 +739,13 @@ void PutObserverInServer (void) else self.frags = FRAGS_LMS_LOSER; } + else if(g_ca) + { + if(self.caplayer) + self.frags = FRAGS_LMS_LOSER; + else + self.frags = FRAGS_SPECTATOR; + } else self.frags = FRAGS_SPECTATOR; }