summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.cc')
-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 fcf1ebe415..2d171ab06b 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1690,7 +1690,7 @@ int mons_adjust_flavoured( monsters *monster, bolt &pbolt,
int res = mons_res_poison(monster);
hurted = resist_adjust_damage(monster, pbolt.flavour, res,
hurted, true);
- if (!hurted)
+ if (!hurted && res > 0)
{
if (doFlavouredEffects)
simple_monster_message( monster, " appears unharmed." );