var string autocvar_hud_panel_weapons_bg_padding;
var float autocvar_hud_panel_weapons_aspect;
var float autocvar_hud_panel_weapons_accuracy;
-var float autocvar_hud_panel_weapons_accuracy_yellow;
var float autocvar_hud_panel_weapons_ammo;
var vector autocvar_hud_panel_weapons_ammo_color;
var float autocvar_hud_panel_weapons_ammo_alpha;
var string autocvar_hud_panel_vote_bg_alpha;
var string autocvar_hud_panel_vote_bg_border;
var string autocvar_hud_panel_vote_bg_padding;
-var float autocvar_hud_panel_vote_alreadyvoted_alpha;
var float autocvar_hud_panel_modicons;
var vector autocvar_hud_panel_modicons_pos;
if(!vote_alpha)
return;
- a = panel_bg_alpha * vote_alpha * bound(autocvar_hud_panel_vote_alreadyvoted_alpha, 1 - vote_highlighted, 1);
+ a = vote_alpha * bound(cvar("hud_panel_vote_alreadyvoted_alpha"), 1 - vote_highlighted, 1);
HUD_Panel_DrawBg(a);
- a = panel_fg_alpha * vote_alpha * bound(autocvar_hud_panel_vote_alreadyvoted_alpha, 1 - vote_highlighted, 1);
+ a = panel_fg_alpha * a;
+
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
var string panel_bg_border_str;
var float panel_bg_padding;
var string panel_bg_padding_str;
-var float panel_accuracy_yellow;
var float panel_accuracy_onlycurrent;
var float panel_accuracy_flip;
var float panel_accuracy_iconalign;