]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_machinegun.qc
Remove "if not"
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_machinegun.qc
index 841254c218798ab1ad7613eba56f9b26f8d8ff5a..cc9cf32850f7dd520cbd54fc51e2beee8d6ed891 100644 (file)
@@ -137,7 +137,7 @@ void uzi_fire1_02()
        if (self.BUTTON_ATCK)
        {
                if (!WEP_ACTION(self.weapon, WR_CHECKAMMO2))
-               if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
+               if (!(self.items & IT_UNLIMITED_WEAPON_AMMO))
                {
                        W_SwitchWeapon_Force(self, w_getbestweapon(self));
                        w_ready();
@@ -163,7 +163,7 @@ void uzi_mode1_fire_auto()
        }
 
        if (!WEP_ACTION(self.weapon, WR_CHECKAMMO1))
-       if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
+       if (!(self.items & IT_UNLIMITED_WEAPON_AMMO))
        {
                W_SwitchWeapon_Force(self, w_getbestweapon(self));
                w_ready();
@@ -262,7 +262,7 @@ float w_uzi(float req)
                                if(weapon_prepareattack(1, 0))
                                {
                                        if (!WEP_ACTION(self.weapon, WR_CHECKAMMO2))
-                                       if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
+                                       if (!(self.items & IT_UNLIMITED_WEAPON_AMMO))
                                        {
                                                W_SwitchWeapon_Force(self, w_getbestweapon(self));
                                                w_ready();