From 58aebcc42ed23b160239e872a5998ba4bfe45593 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 5 Jun 2013 05:44:11 +1000 Subject: [PATCH] Remove a useless health check --- qcsrc/server/mutators/mutator_minstagib.qc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qcsrc/server/mutators/mutator_minstagib.qc b/qcsrc/server/mutators/mutator_minstagib.qc index 021a2b083..872a2a9e9 100644 --- a/qcsrc/server/mutators/mutator_minstagib.qc +++ b/qcsrc/server/mutators/mutator_minstagib.qc @@ -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; } -- 2.39.2