X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fhlac.qc;h=b8cf3485e30418165cfc027cbfae13cffe9fef95;hp=ad21fd9ca8b775cec7053f195491c362de36debb;hb=047e80d3190ef626c6029a655677ff1a08e66e3a;hpb=4660405e09300fbdbefb7a1f98211737317ee946 diff --git a/qcsrc/common/weapons/weapon/hlac.qc b/qcsrc/common/weapons/weapon/hlac.qc index ad21fd9ca8..b8cf3485e3 100644 --- a/qcsrc/common/weapons/weapon/hlac.qc +++ b/qcsrc/common/weapons/weapon/hlac.qc @@ -161,11 +161,11 @@ void W_HLAC_Attack2(void) } // weapon frames -void W_HLAC_Attack_Frame(void) +void W_HLAC_Attack_Frame(Weapon thiswep, bool fire1, bool fire2) {SELFPARAM(); if(self.weapon != self.switchweapon) // abort immediately if switching { - w_ready(); + w_ready(thiswep, fire1, fire2); return; } @@ -175,7 +175,7 @@ void W_HLAC_Attack_Frame(void) if(!(self.items & IT_UNLIMITED_WEAPON_AMMO)) { W_SwitchWeapon_Force(self, w_getbestweapon(self)); - w_ready(); + w_ready(thiswep, fire1, fire2); return; }