From 1542eed6609fb4782c155538d359d414498e7f6e Mon Sep 17 00:00:00 2001 From: TimePath Date: Mon, 26 Oct 2015 12:04:37 +1100 Subject: [PATCH] Remove dead code --- qcsrc/server/t_items.qc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/qcsrc/server/t_items.qc b/qcsrc/server/t_items.qc index 832290f84..77e3cfae0 100644 --- a/qcsrc/server/t_items.qc +++ b/qcsrc/server/t_items.qc @@ -1037,17 +1037,6 @@ void _StartItem(entity this, entity def, float defaultrespawntime, float default this.event_damage = Item_Damage; if(this.strength_finished || this.invincible_finished || this.superweapons_finished) - /* - if(this.items == 0) - if(!(this.weapons & ~WEPSET_SUPERWEAPONS)) // only superweapons - if(this.ammo_nails == 0) - if(this.ammo_cells == 0) - if(this.ammo_rockets == 0) - if(this.ammo_shells == 0) - if(this.ammo_fuel == 0) - if(this.health == 0) - if(this.armorvalue == 0) - */ { // if item is worthless after a timer, have it expire then this.nextthink = max(this.strength_finished, this.invincible_finished, this.superweapons_finished); -- 2.39.2