From 6a9c49eced81a77ed21d9c4930d60e3755acc37e Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 18 Aug 2009 16:43:15 +0200 Subject: [PATCH] Fixed no fall damage class attribute not working on human classes. --- src/zr/damage.inc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/zr/damage.inc b/src/zr/damage.inc index 008a218..1919db5 100644 --- a/src/zr/damage.inc +++ b/src/zr/damage.inc @@ -307,12 +307,6 @@ public ZRTools_Action:DamageOnTakeDamage(client, inflictor, attacker, Float:dama // Client was damaged by falling. else if (damagetype & DMG_CSS_FALL) { - // If client isn't a zombie, then allow damage. - if (!InfectIsClientInfected(client)) - { - return ZRTools_Continue; - } - // If class has "nofalldamage" disabled, then allow damage. new bool:blockfalldamage = ClassGetNoFallDamage(client); if (!blockfalldamage)