From: terencehill Date: Mon, 21 Jan 2019 13:47:59 +0000 (+0100) Subject: Fx #2142 "hud_panel_pressedkeys_attack 1 shows primary and secondary the same way" X-Git-Tag: xonotic-v0.8.5~1652 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=41986358f2bae1aa00ec017eb5db274e9fb09e0f;p=xonotic%2Fxonotic-data.pk3dir.git Fx #2142 "hud_panel_pressedkeys_attack 1 shows primary and secondary the same way" --- diff --git a/qcsrc/client/hud/panel/pressedkeys.qc b/qcsrc/client/hud/panel/pressedkeys.qc index b4da1dd7d..e9d651a64 100644 --- a/qcsrc/client/hud/panel/pressedkeys.qc +++ b/qcsrc/client/hud/panel/pressedkeys.qc @@ -58,7 +58,7 @@ void HUD_PressedKeys() if(autocvar_hud_panel_pressedkeys_attack) { drawpic_aspect_skin(pos + eX * keysize.x * 0.5, ((pressedkeys & KEY_ATCK) ? "key_atck_inv.tga" : "key_atck.tga"), keysize, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL); - drawpic_aspect_skin(pos + eX * keysize.x * 1.5, ((pressedkeys & KEY_ATCK2) ? "key_atck_inv.tga" : "key_atck.tga"), keysize, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL); + drawpic_aspect_skin(pos + eX * keysize.x * 1.5, ((pressedkeys & KEY_ATCK2) ? "key_atck2_inv.tga" : "key_atck2.tga"), keysize, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL); pos.y += keysize.y; }