From: z411 Date: Tue, 20 Oct 2020 21:42:34 +0000 (-0300) Subject: Add accuracy and perfect medals to scoreboard X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=758590943876c10cd6f2b675134c46e394d8e698;p=xonotic%2Fxonotic-data.pk3dir.git Add accuracy and perfect medals to scoreboard --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 694a8b1fe..19bbebeb7 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -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;