]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 ba9e01a906d8b96f0540a0f40543f586248cc992..73b08adeb16ea344a2e8b01815b9b37cad8e01ae 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 6cb1e4470f8324274c89e250c268c0132ac4b17d..476eb607e48b6be0b28f05bba4a7aeef19d6e532 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: