From: terencehill Date: Thu, 19 May 2016 20:31:21 +0000 (+0200) Subject: Fix hud_panel_weapons_noncurrent_scale 0 acting as if it were 1 X-Git-Tag: xonotic-v0.8.2~884^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12855db53f96bfef41691dc637c44f33d8c7b98d;p=xonotic%2Fxonotic-data.pk3dir.git Fix hud_panel_weapons_noncurrent_scale 0 acting as if it were 1 --- diff --git a/qcsrc/client/hud/panel/weapons.qc b/qcsrc/client/hud/panel/weapons.qc index 4447ccde0..ab9c9e24c 100644 --- a/qcsrc/client/hud/panel/weapons.qc +++ b/qcsrc/client/hud/panel/weapons.qc @@ -350,7 +350,7 @@ void HUD_Weapons() // draw items row = column = 0; vector label_size = '1 1 0' * min(weapon_size.x, weapon_size.y) * bound(0, autocvar_hud_panel_weapons_label_scale, 1); - vector noncurrent_size = weapon_size * bound(0, autocvar_hud_panel_weapons_noncurrent_scale, 1); + vector noncurrent_size = weapon_size * bound(0.01, autocvar_hud_panel_weapons_noncurrent_scale, 1); float noncurrent_alpha = panel_fg_alpha * bound(0, autocvar_hud_panel_weapons_noncurrent_alpha, 1); bool isCurrent; static vector weapon_pos_current = '-1 0 0';