From c35cf24fe20019fdfea27cb647e3d97a9cbfbc48 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 24 Dec 2011 19:21:21 +0100 Subject: [PATCH] Align progressbar depending on the icon position --- qcsrc/client/hud.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 7b45966cd..c5cc01eb7 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4849,7 +4849,7 @@ void DrawItemsTimeItem(vector myPos, vector mySize, float ar, float itemcode) p_pos = myPos; p_size = mySize; } - HUD_Panel_DrawProgressBar(p_pos, p_size, autocvar_hud_panel_itemstime_progressbar_name, t/autocvar_hud_panel_itemstime_progressbar_maxtime, 0, 0, color, autocvar_hud_progressbar_alpha * panel_fg_alpha, DRAWFLAG_NORMAL); + HUD_Panel_DrawProgressBar(p_pos, p_size, autocvar_hud_panel_itemstime_progressbar_name, t/autocvar_hud_panel_itemstime_progressbar_maxtime, 0, autocvar_hud_panel_itemstime_iconalign, color, autocvar_hud_progressbar_alpha * panel_fg_alpha, DRAWFLAG_NORMAL); } if(t > 0 && autocvar_hud_panel_itemstime_text) -- 2.39.2