From: FruitieX Date: Sat, 11 Dec 2010 22:34:01 +0000 (+0200) Subject: fix the xhair hud config ammo panel: xoffset cvar had been forgotten, so the progress... X-Git-Tag: xonotic-v0.1.0preview~49^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1db3891ad43a524a50bc3a34dc9ff6bc1121ba55;p=xonotic%2Fxonotic-data.pk3dir.git fix the xhair hud config ammo panel: xoffset cvar had been forgotten, so the progressbar was not offset correctly. Add cvar to the exporter. Completely harmless two-liner change, please merge :P --- diff --git a/hud_luminos_xhair_minimal.cfg b/hud_luminos_xhair_minimal.cfg index ba9e01a90..73b08adeb 100644 --- a/hud_luminos_xhair_minimal.cfg +++ b/hud_luminos_xhair_minimal.cfg @@ -59,6 +59,7 @@ seta hud_panel_ammo_onlycurrent "1" seta hud_panel_ammo_iconalign "0" seta hud_panel_ammo_progressbar "1" seta hud_panel_ammo_progressbar_name "progressbar_ammo" +seta hud_panel_ammo_progressbar_xoffset "0.32" seta hud_panel_ammo_text "1" seta hud_panel_powerups 1 diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 6cb1e4470..476eb607e 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -498,6 +498,7 @@ void HUD_Panel_ExportCfg(string cfgname) HUD_Write_PanelCvar_q("_iconalign"); HUD_Write_PanelCvar_q("_progressbar"); HUD_Write_PanelCvar_q("_progressbar_name"); + HUD_Write_PanelCvar_q("_progressbar_xoffset"); HUD_Write_PanelCvar_q("_text"); break; case HUD_PANEL_POWERUPS: