]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix that last change
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 11 Feb 2011 17:26:13 +0000 (19:26 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 11 Feb 2011 17:26:13 +0000 (19:26 +0200)
qcsrc/server/cl_weaponsystem.qc

index e55b3a4ff80c1bd0bd0f1257da1a1d85530573f1..6e3558e9b78ba3f19000597daea8239613493d92 100644 (file)
@@ -1614,7 +1614,7 @@ void W_SetupProjectileVelocity(entity missile, float pSpeed, float spread)
 
 void W_DecreaseAmmo(.float ammo_type, float ammo_use, float ammo_reload)
 {
-       if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
+       if(self.items & IT_UNLIMITED_WEAPON_AMMO)
                return;
 
        // if this weapon is reloadable, decrease its load. Else decrease the player's ammo