]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud.qc
- Fix typo in fireball code that was causing to: * being able to shoot with primary...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qc
index 0f54a2857f578fe96fedd305bba7663a7aa903ee..6b21f86a4f281179cdcf8e65807908d0a832fb5c 100644 (file)
@@ -2256,12 +2256,10 @@ void HUD_HealthArmor(void)
                mySize -= '2 2 0' * panel_bg_padding;
        }
 
-       float armor, health;
+       float armor, health, fuel;
        armor = getstati(STAT_ARMOR);
        health = getstati(STAT_HEALTH);
-
-       float fuel;
-       fuel = getstati(GetAmmoStat(4)); // how much fuel do we have?
+       fuel = getstati(STAT_FUEL);
 
        if(autocvar__hud_configure)
        {