From: Mircea Kitsune Date: Fri, 11 Feb 2011 17:26:13 +0000 (+0200) Subject: Fix that last change X-Git-Tag: xonotic-v0.5.0~309^2~7^2~46 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=163b6904549acc6e44bbe6a400d490b8eeeb9806;p=xonotic%2Fxonotic-data.pk3dir.git Fix that last change --- diff --git a/qcsrc/server/cl_weaponsystem.qc b/qcsrc/server/cl_weaponsystem.qc index e55b3a4ff..6e3558e9b 100644 --- a/qcsrc/server/cl_weaponsystem.qc +++ b/qcsrc/server/cl_weaponsystem.qc @@ -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