]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Blaster does not need to decrease ammo
authorSamual Lenks <samual@xonotic.org>
Wed, 11 Dec 2013 00:35:33 +0000 (19:35 -0500)
committerSamual Lenks <samual@xonotic.org>
Wed, 11 Dec 2013 00:35:33 +0000 (19:35 -0500)
qcsrc/common/weapons/w_blaster.qc

index 7d6f964a9fa3ef339e2ddf37fca8ae1f5275de7c..4d191feba92c2845ca772d00c5f316091db1da38 100644 (file)
@@ -165,7 +165,6 @@ float W_Blaster(float request)
                        {
                                if(weapon_prepareattack(0, WEP_CVAR_PRI(blaster, refire)))
                                {
-                                       W_DecreaseAmmo(ammo_none, 1, TRUE); // WEAPONTODO is this necessary?
                                        W_Blaster_Attack(
                                                WEP_CVAR_PRI(blaster, shotangle),
                                                WEP_CVAR_PRI(blaster, damage),
@@ -195,7 +194,6 @@ float W_Blaster(float request)
                                        {
                                                if(weapon_prepareattack(1, WEP_CVAR_SEC(blaster, refire)))
                                                {
-                                                       W_DecreaseAmmo(ammo_none, 1, TRUE);
                                                        W_Blaster_Attack(
                                                                WEP_CVAR_SEC(blaster, shotangle),
                                                                WEP_CVAR_SEC(blaster, damage),