summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 13fe97e359..fb93985dc0 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -822,6 +822,9 @@ void cast_toxic_radiance(void)
if (monster->type != -1 && mons_near(monster))
{
+ // Monsters affected by corona are still invisible in that
+ // radiation passes through them without affecting them. Therefore,
+ // this check should not be !monster->invisible().
if (!monster->has_ench(ENCH_INVIS))
{
poison_monster(monster, KC_YOU);