From 4293f09b10b2048215d8c17d66fca7c65e0a5d1f Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 6 May 2016 11:34:25 +0100 Subject: [PATCH] Damage effect fix. --- src/battle/fighters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle/fighters.c b/src/battle/fighters.c index 30d2d62..f58c067 100644 --- a/src/battle/fighters.c +++ b/src/battle/fighters.c @@ -467,7 +467,7 @@ void damageFighter(Entity *e, int amount, long flags) } } - if (amount >= 0) + if (amount > 0) { e->health -= amount; e->armourHit = 255;