diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-27 06:54:08 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-27 06:54:08 +0000 |
commit | 14e7fda9198748e9952b2e9cef9289165ee45022 (patch) | |
tree | 3ea365156bd94c41626a0b6b3cf9b1cb096f64d2 /crawl-ref/source | |
parent | 981f9252a7f0a3fb15bcfb268a8e2c57cc35b61d (diff) | |
download | crawl-ref-14e7fda9198748e9952b2e9cef9289165ee45022.tar.gz crawl-ref-14e7fda9198748e9952b2e9cef9289165ee45022.zip |
[1821096] Olgreb's toxic radiance should not affect submerged monsters (dolorous).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2611 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/spells2.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index c6af945b8a..5ea9631a95 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -840,7 +840,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, |