summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 23:52:57 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 23:52:57 +0000
commita37bf04ca898e8a04c2ff96b39a1ceb7d7b9ee78 (patch)
treee9fa850d52f0dda95d4f3bf5bed4f3902f9be049 /crawl-ref/source/dungeon.cc
parent08b52212b1957ef10e70a750968554a9e5ee4bb8 (diff)
downloadcrawl-ref-a37bf04ca898e8a04c2ff96b39a1ceb7d7b9ee78.tar.gz
crawl-ref-a37bf04ca898e8a04c2ff96b39a1ceb7d7b9ee78.zip
Properly disallow Jiyva altars in the main dungeon, as is done for e.g.
Lugonu and Beogh already. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10296 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index ee7488db82..f531177cdc 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -5408,7 +5408,8 @@ static dungeon_feature_type _pick_an_altar()
}
while (altar_type == DNGN_ALTAR_NEMELEX_XOBEH
|| altar_type == DNGN_ALTAR_LUGONU
- || altar_type == DNGN_ALTAR_BEOGH);
+ || altar_type == DNGN_ALTAR_BEOGH
+ || altar_type == DNGN_ALTAR_JIYVA);
break;
}
}