]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Scoreboard should be called Players in RPG, since it shows no score
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 10 Sep 2010 11:46:43 +0000 (14:46 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 10 Sep 2010 11:46:43 +0000 (14:46 +0300)
data/qcsrc/client/sbar.qc

index 50d5245668dc9104a9020cf89a0aefc3f17c663f..d26f661ccf0327861f15380553a69aa7f289bf9d 100644 (file)
@@ -1396,7 +1396,10 @@ void Sbar_DrawScoreboard()
 \r
        // Heading\r
        drawfont = sbar_bigfont;\r
-       drawstringcenter('0 1 0' * ymin, "Scoreboard", '24 24 0', '1 1 1', sbar_scoreboard_alpha_fg, DRAWFLAG_NORMAL);\r
+       if(gametype == GAME_RPG)\r
+               drawstringcenter('0 1 0' * ymin, "Players", '24 24 0', '1 1 1', sbar_scoreboard_alpha_fg, DRAWFLAG_NORMAL);\r
+       else\r
+               drawstringcenter('0 1 0' * ymin, "Scoreboard", '24 24 0', '1 1 1', sbar_scoreboard_alpha_fg, DRAWFLAG_NORMAL);\r
 \r
        pos_y += 24 + 4;\r
        pos_y += sbar_fontsize_y;\r