From c34871cb3f65412db663a4793df6f055663e16fa Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 21 Nov 2018 04:35:51 +0100 Subject: Fix a regression that prevented characters from being resurrected Caused by a wrong check in 8269fdcd5d036ddc3c24bc0ebb4ad958b5c19a3a Signed-off-by: Haru --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index edcdd515d..75744c59b 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1557,7 +1557,7 @@ static int status_heal(struct block_list *bl, int64 in_hp, int64 in_sp, enum sta if (st == &status->dummy) return 0; - if (st->hp == 0 && (flag & STATUS_HEAL_ALLOWREVIVE) != 0) + if (st->hp == 0 && (flag & STATUS_HEAL_ALLOWREVIVE) == 0) return 0; /* From here onwards, we consider it a 32-type as the client does not support higher and the value doesn't get through percentage modifiers */ -- cgit v1.2.3-70-g09d2