diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-19 14:31:51 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-19 14:31:51 +0000 |
commit | e229eea5f8b1196c4134f642e57729d22b020931 (patch) | |
tree | 722d463dfeab9290906a5e8c6db2a118065c96a6 /crawl-ref/source/abyss.cc | |
parent | 49ff1f136a6fdf58ce58f58b5ca7116e666b36dc (diff) | |
download | crawl-ref-e229eea5f8b1196c4134f642e57729d22b020931.tar.gz crawl-ref-e229eea5f8b1196c4134f642e57729d22b020931.zip |
Disallow Jiyva altars in the Abyss.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10315 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r-- | crawl-ref/source/abyss.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index 596cf3c662..e90d47e0b4 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -301,11 +301,12 @@ static void _generate_area(const coord_def& topleft, do { grd(*ri) = static_cast<dungeon_feature_type>( - DNGN_ALTAR_ZIN + random2(NUM_GODS-1) ); + DNGN_ALTAR_ZIN + random2(NUM_GODS - 1)); } while (grd(*ri) == DNGN_ALTAR_ZIN || grd(*ri) == DNGN_ALTAR_SHINING_ONE - || grd(*ri) == DNGN_ALTAR_ELYVILON); + || grd(*ri) == DNGN_ALTAR_ELYVILON + || grd(*ri) == DNGN_ALTAR_JIYVA); // Lugonu has a flat 50% chance of corrupting the altar. if (coinflip()) |