summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 4a4558111d..16219a9adc 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -2409,7 +2409,7 @@ bool poison_monster(monsters *monster, kill_category who, int levels,
if (!monster->alive())
return (false);
- if (levels > 0 || (!force && mons_res_poison(monster) > 0))
+ if (levels <= 0 || (!force && mons_res_poison(monster) > 0))
return (false);
const mon_enchant old_pois = monster->get_ench(ENCH_POISON);