]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a useless health check
authorMario <mario.mario@y7mail.com>
Tue, 4 Jun 2013 19:44:11 +0000 (05:44 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 4 Jun 2013 19:44:11 +0000 (05:44 +1000)
qcsrc/server/mutators/mutator_minstagib.qc

index 021a2b08365909bb502bd47187f8ab63d93758bc..872a2a9e919a12d64710a022eb525cfaabedfd4a 100644 (file)
@@ -26,7 +26,7 @@ void minstagib_stop_countdown(entity e)
        Kill_Notification(NOTIF_ONE_ONLY, e, MSG_CENTER_CPID, CPID_MINSTA_FINDAMMO);
        e.minstagib_needammo = FALSE;
 }
-void minstagib_ammocheck(void)
+void minstagib_ammocheck()
 {
        if not(IS_PLAYER(self))
                return; // not a player
@@ -202,9 +202,6 @@ MUTATOR_HOOKFUNCTION(minstagib_SplitHealthArmor)
 
 MUTATOR_HOOKFUNCTION(minstagib_ForbidThrowing)
 {
-       if (self.health < 1)
-               return FALSE;
-               
        return TRUE;
 }