summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index fae20f6a8a..53156bdcb3 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -263,7 +263,7 @@ int torment_monsters(int x, int y, int pow, int caster)
monsters *monster = &menv[mon];
- if (invalid_monster(monster) || mons_res_negative_energy(monster) >= 3)
+ if (invalid_monster(monster) || mons_res_negative_energy(monster) == 3)
return retval;
int hploss = monster->hit_points / 2 - 1;