fix the xhair hud config ammo panel: xoffset cvar had been forgotten, so the progress...
authorFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 22:34:01 +0000 (00:34 +0200)
committerFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 22:34:01 +0000 (00:34 +0200)
hud_luminos_xhair_minimal.cfg
qcsrc/client/hud.qc

index ba9e01a..73b08ad 100644 (file)
@@ -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
index 6cb1e44..476eb60 100644 (file)
@@ -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: