]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/healtharmor.qc
Rename a macro
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / healtharmor.qc
index 54685aa14e2d87004c3c2912aa515f296b852116..bd49ba9dd92339a1550b24a108c558d0720efc78 100644 (file)
@@ -1,8 +1,10 @@
 #include "healtharmor.qh"
 
+#include "scoreboard.qh"
 #include <common/deathtypes/all.qh>
 
-/** Health/armor (#3) */
+// Health/armor (#3)
+
 void HUD_HealthArmor()
 {
        int armor, health, fuel;
@@ -58,7 +60,7 @@ void HUD_HealthArmor()
 
        if(1 - scoreboard_fade_alpha <= 0)
                return;
-       HUD_Panel_UpdateCvars(1 - scoreboard_fade_alpha);
+       HUD_Panel_LoadCvars(1 - scoreboard_fade_alpha);
 
        draw_beginBoldFont();