From: Mario Date: Tue, 9 Apr 2013 00:51:41 +0000 (+1000) Subject: Remove useless health check X-Git-Tag: xonotic-v0.7.0~55^2~3^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=65a655adcc9d72f9ab5db3cfeb4e75e1ff4ba8b6;p=xonotic%2Fxonotic-data.pk3dir.git Remove useless health check --- diff --git a/qcsrc/server/mutators/mutator_minstagib.qc b/qcsrc/server/mutators/mutator_minstagib.qc index 6d07ae7b2..3a4bbfffd 100644 --- a/qcsrc/server/mutators/mutator_minstagib.qc +++ b/qcsrc/server/mutators/mutator_minstagib.qc @@ -26,11 +26,7 @@ void minstagib_ammocheck(void) if (self.deadflag || gameover) minstagib_stop_countdown(self); else if (self.ammo_cells > 0 || (self.items & IT_UNLIMITED_WEAPON_AMMO)) - { minstagib_stop_countdown(self); - if(self.health < 100) - self.health = 100; - } else { self.minstagib_needammo = TRUE;