]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add accuracy and perfect medals to scoreboard
authorz411 <z411@omaera.org>
Tue, 20 Oct 2020 21:42:34 +0000 (18:42 -0300)
committerz411 <z411@omaera.org>
Tue, 20 Oct 2020 21:42:34 +0000 (18:42 -0300)
qcsrc/client/hud/panel/scoreboard.qc

index 694a8b1fedee20409d87a5f0e9a078a5bf25aee6..19bbebeb7e85dbe3c7e1f2c79b3f31aecac82f25 100644 (file)
@@ -1519,8 +1519,10 @@ vector Scoreboard_MedalStats_Draw(vector pos)
        
        pos.x += hud_fontsize.x;
        
+       pos = Scoreboard_DrawMedal(pos, "gfx/medal/accuracy",           height, pl.(scores(SP_MEDAL_ACCURACY)));
        pos = Scoreboard_DrawMedal(pos, "gfx/medal/assist",             height, pl.(scores(SP_MEDAL_ASSIST)));
        pos = Scoreboard_DrawMedal(pos, "gfx/medal/defense",            height, pl.(scores(SP_MEDAL_DEFENSE)));
+       pos = Scoreboard_DrawMedal(pos, "gfx/medal/perfect",            height, pl.(scores(SP_MEDAL_PERFECT)));
        
        if(!total_medals) return orig;