summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index cdc11b55eb..b4136e8ba2 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -305,7 +305,9 @@ static void _generate_area(const coord_def& topleft,
}
while (grd(*ri) == DNGN_ALTAR_ZIN
|| grd(*ri) == DNGN_ALTAR_SHINING_ONE
- || grd(*ri) == DNGN_ALTAR_ELYVILON);
+ || grd(*ri) == DNGN_ALTAR_ELYVILON
+ || (jiyva_is_dead() ?
+ grd(*ri) == DNGN_ALTAR_JIYVA : false));
// Lugonu has a flat 50% chance of corrupting the altar.
if (coinflip())