Fixed no fall damage class attribute not working on human classes.

This commit is contained in:
richard 2009-08-18 16:43:15 +02:00
parent 5591adfd25
commit 6a9c49eced

View File

@ -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)