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, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 64c48926eb..d9cd928d61 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -828,7 +828,8 @@ void cast_toxic_radiance(void)
{
monster = &menv[toxy];
- if (monster->type != -1 && mons_near(monster))
+ if (monster->type != -1 && mons_near(monster)
+ && !monster->submerged())
{
// Monsters affected by corona are still invisible in that
// radiation passes through them without affecting them. Therefore,