]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
No need to show Frags on RPG scoreboard
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 3 Sep 2010 13:44:09 +0000 (16:44 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 3 Sep 2010 13:44:09 +0000 (16:44 +0300)
data/qcsrc/client/sbar.qc

index f00778d7159452f5fe3ed87ff46ac550d46582ec..46e13c67db149095866f3a75ad90bd34f8ff337e 100644 (file)
@@ -513,7 +513,7 @@ void Cmd_Sbar_SetFields(float argc)
                                if(str == strtolower(scores_label[j]))\r
                                        goto found; // sorry, but otherwise fteqcc -O3 miscompiles this and warns about "unreachable code"\r
 :notfound\r
-                       if(str == "frags")\r
+                       if(str == "frags" && !gametype == GAME_RPG)\r
                        {\r
                                j = SP_FRAGS;\r
                        }\r