summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
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 */