]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix an ammo consumption warning with the arc bolts
authorMario <mario@smbclan.net>
Tue, 26 Jun 2018 13:37:09 +0000 (23:37 +1000)
committerMario <mario@smbclan.net>
Tue, 26 Jun 2018 13:37:09 +0000 (23:37 +1000)
qcsrc/common/weapons/weapon/arc.qc

index c7066e6fbd34720e16d0852f305c6fa36d426323..e78e10a3641d772427a9c053170db903a70e2fb0 100644 (file)
@@ -633,7 +633,7 @@ METHOD(Arc, wr_think, void(entity thiswep, entity actor, .entity weaponentity, i
     }
     else if(fire & 2)
     {
-        if(weapon_prepareattack(thiswep, actor, weaponentity, false, WEP_CVAR(arc, bolt_refire)))
+        if(weapon_prepareattack(thiswep, actor, weaponentity, true, WEP_CVAR(arc, bolt_refire)))
         {
             W_Arc_Attack_Bolt(thiswep, actor, weaponentity);
             weapon_thinkf(actor, weaponentity, WFRAME_FIRE1, WEP_CVAR(arc, bolt_refire), w_ready);