From 3ad13c40396d26ea47b76a1e2e540ceab41269b8 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 17 Dec 2014 09:48:57 +1100 Subject: [PATCH] Attempt to fix nade damage --- qcsrc/server/mutators/mutator_nades.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/mutators/mutator_nades.qc b/qcsrc/server/mutators/mutator_nades.qc index 3a440e28d..baf2716cb 100644 --- a/qcsrc/server/mutators/mutator_nades.qc +++ b/qcsrc/server/mutators/mutator_nades.qc @@ -596,7 +596,7 @@ void nade_damage(entity inflictor, entity attacker, float damage, float deathtyp self.velocity += force; - if(!damage || (self.flags & FL_ONGROUND && IS_PLAYER(attacker))) + if(damage <= 0 || ((self.flags & FL_ONGROUND) && IS_PLAYER(attacker))) return; if(self.health == self.max_health) -- 2.39.2