]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove forgotten code
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 21 Jan 2011 22:37:02 +0000 (00:37 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 21 Jan 2011 22:37:02 +0000 (00:37 +0200)
qcsrc/server/w_electro.qc

index 2908c1429a452f5b2c416df9f87f78a453e064e4..437d3f704b508641ea2a6a292afbc67ae51e4a96 100644 (file)
@@ -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)
                {