]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_hmg.qc
Even more floats to bool/int
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_hmg.qc
index 8190411cd648ebd829a1758db8762bb8fd7c1c7e..de9c983b2850f24f6777f687f50975eb43ce24d1 100644 (file)
@@ -85,7 +85,7 @@ void W_HeavyMachineGun_Attack_Auto()
        weapon_thinkf(WFRAME_FIRE1, WEP_CVAR(hmg, refire), W_HeavyMachineGun_Attack_Auto);
 }
 
-float W_HeavyMachineGun(float req)
+bool W_HeavyMachineGun(int req)
 {
        float ammo_amount;
        switch(req)
@@ -169,7 +169,7 @@ float W_HeavyMachineGun(float req)
 }
 #endif
 #ifdef CSQC
-float W_HeavyMachineGun(float req)
+bool W_HeavyMachineGun(int req)
 {
        switch(req)
        {