]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
show dead CA players in scoreboard
authorRudolf Polzer <divverent@alientrap.org>
Tue, 30 Aug 2011 14:08:14 +0000 (16:08 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 30 Aug 2011 14:08:46 +0000 (16:08 +0200)
qcsrc/server/cl_client.qc

index 598c6740fbd6d32cf50c8f98eaf4c1d6d9845f54..26d37400fd6449a9935c51b0b579d2fada848dbf 100644 (file)
@@ -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;
 }