]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix missing parentheses
authorMario <mario.mario@y7mail.com>
Mon, 9 Dec 2013 00:26:34 +0000 (11:26 +1100)
committerMario <mario.mario@y7mail.com>
Mon, 9 Dec 2013 00:26:34 +0000 (11:26 +1100)
qcsrc/common/weapons/w_hagar.qc

index 12d44b64812c472f50155ae60c5ad9ada863161c..b2a9f573b8b07d96044324ed1e30aabef3918913 100644 (file)
@@ -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);