Fixed no fall damage class attribute not working on human classes.
This commit is contained in:
parent
5591adfd25
commit
6a9c49eced
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user