]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_weapons.qc
Get rid of if not, step 1.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_weapons.qc
index 2fc23307edee6e1f8187a02496f8758bcca2ac26..8eaf8addc6e8f95f059e2a5fd392963d1c0a81fd 100644 (file)
@@ -346,7 +346,7 @@ void W_ThrowWeapon(vector velo, vector delta, float doreduce)
        W_SwitchWeapon_Force(self, w_getbestweapon(self));
        a = W_ThrowNewWeapon(self, w, doreduce, self.origin + delta, velo);
        
-       if not(a) return;
+       if (!a) return;
        Send_Notification(NOTIF_ONE, self, MSG_MULTI, ITEM_WEAPON_DROP, a, w);
 }