Damage effect fix.
This commit is contained in:
parent
2e8edd210a
commit
4293f09b10
|
@ -467,7 +467,7 @@ void damageFighter(Entity *e, int amount, long flags)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (amount >= 0)
|
if (amount > 0)
|
||||||
{
|
{
|
||||||
e->health -= amount;
|
e->health -= amount;
|
||||||
e->armourHit = 255;
|
e->armourHit = 255;
|
||||||
|
|
Loading…
Reference in New Issue