]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove useless health check
authorMario <mario.mario@y7mail.com>
Tue, 9 Apr 2013 00:51:41 +0000 (10:51 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 9 Apr 2013 00:51:41 +0000 (10:51 +1000)
qcsrc/server/mutators/mutator_minstagib.qc

index 6d07ae7b27850456fb18197e62b549f4f3310431..3a4bbfffdc2f57bd9702655bd92934eef425c2ed 100644 (file)
@@ -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;