X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fw_hmg.qc;h=de9c983b2850f24f6777f687f50975eb43ce24d1;hb=34195feabdbcec29f6b7f6fcf8df8e25c4f41d8a;hp=8190411cd648ebd829a1758db8762bb8fd7c1c7e;hpb=530e06120a7b41f6175b1144fedf6903da8c13b0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/w_hmg.qc b/qcsrc/common/weapons/w_hmg.qc index 8190411cd..de9c983b2 100644 --- a/qcsrc/common/weapons/w_hmg.qc +++ b/qcsrc/common/weapons/w_hmg.qc @@ -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) {