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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 7e078290c0..ec85a04ab2 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -267,7 +267,7 @@ int corpse_rot(int power)
for (adx = minx; adx != maxx; adx += xinc)
for (ady = miny; ady != maxy; ady += yinc)
{
- if (see_grid_no_trans(adx, ady))
+ if (see_grid_no_trans(adx, ady) && !is_sanctuary(adx, ady))
{
if (igrd[adx][ady] == NON_ITEM
|| env.cgrid[adx][ady] != EMPTY_CLOUD)