From bf1ac26cc82be1a865a51a2332c2692017fd8e9a Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sat, 22 Jan 2011 00:37:02 +0200 Subject: [PATCH] Remove forgotten code --- qcsrc/server/w_electro.qc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qcsrc/server/w_electro.qc b/qcsrc/server/w_electro.qc index 2908c1429..437d3f704 100644 --- a/qcsrc/server/w_electro.qc +++ b/qcsrc/server/w_electro.qc @@ -322,10 +322,6 @@ void lgbeam_think() dt = frametime; if not(self.owner.items & IT_UNLIMITED_WEAPON_AMMO) { - - /*dt = min(dt, self.owner.ammo_cells / autocvar_g_balance_electro_primary_ammo); - self.owner.ammo_cells = max(0, self.owner.ammo_cells - autocvar_g_balance_electro_primary_ammo * frametime);*/ - // if this weapon is reloadable, decrease its load. Else decrease the player's ammo if(autocvar_g_balance_electro_primary_ammo) { -- 2.39.2