From: Mario Date: Mon, 9 Dec 2013 00:26:34 +0000 (+1100) Subject: Fix missing parentheses X-Git-Tag: xonotic-v0.8.0~152^2~286 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5e114778a910b1def92440465f8a0a32200870e4;p=xonotic%2Fxonotic-data.pk3dir.git Fix missing parentheses --- diff --git a/qcsrc/common/weapons/w_hagar.qc b/qcsrc/common/weapons/w_hagar.qc index 12d44b648..b2a9f573b 100644 --- a/qcsrc/common/weapons/w_hagar.qc +++ b/qcsrc/common/weapons/w_hagar.qc @@ -373,7 +373,7 @@ void W_Hagar_Attack2_Load (void) } // we aren't checking ammo during an attack, so we must do it here - if(!WEP_ACTION(self.weapon, WR_CHECKAMMO1) + WEP_ACTION(self.weapon, WR_CHECKAMMO2)) + if(!(WEP_ACTION(self.weapon, WR_CHECKAMMO1) + WEP_ACTION(self.weapon, WR_CHECKAMMO2))) { // note: this doesn't force the switch W_SwitchToOtherWeapon(self);