From: Mario Date: Tue, 26 Jun 2018 13:37:09 +0000 (+1000) Subject: Fix an ammo consumption warning with the arc bolts X-Git-Tag: xonotic-v0.8.5~1978 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=51bb8e5824dae114ffa35563033340ed92d526a4;p=xonotic%2Fxonotic-data.pk3dir.git Fix an ammo consumption warning with the arc bolts --- diff --git a/qcsrc/common/weapons/weapon/arc.qc b/qcsrc/common/weapons/weapon/arc.qc index c7066e6fb..e78e10a36 100644 --- a/qcsrc/common/weapons/weapon/arc.qc +++ b/qcsrc/common/weapons/weapon/arc.qc @@ -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);