From aafa0916c3efdaec615d9fe4c9ab3dc21f350c2f Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 4 Dec 2011 15:59:51 +0100 Subject: [PATCH] Apply panel alpha to the text --- qcsrc/client/hud.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index b894e19c5..9af5a7e3f 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -5120,10 +5120,10 @@ void HUD_QuickMenu_DrawEntry(vector pos, string s, vector fontsize) if (autocvar_hud_panel_quickmenu_align > 0) { offset = (panel_size_x - stringwidth_colors(entry, fontsize)) * min(autocvar_hud_panel_quickmenu_align, 1); - drawcolorcodedstring(pos + eX * offset, entry, fontsize, 1, DRAWFLAG_ADDITIVE); + drawcolorcodedstring(pos + eX * offset, entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE); } else - drawcolorcodedstring(pos + eY * (panel_size_y - fontsize_y), entry, fontsize, 1, DRAWFLAG_ADDITIVE); + drawcolorcodedstring(pos + eY * (panel_size_y - fontsize_y), entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE); } void HUD_QuickMenu(void) { -- 2.39.2