summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-11 09:24:02 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-11 09:24:02 +0000
commitd5fd5e1adaba3e57477d5b6a96ad7c4795dc347b (patch)
treef2bedeca50efcb3039771b02ade1ac7379ebb232 /crawl-ref/source/dungeon.cc
parentdb9ef8ec2f04562f08a881ee1f8383a87a19d462 (diff)
downloadcrawl-ref-d5fd5e1adaba3e57477d5b6a96ad7c4795dc347b.tar.gz
crawl-ref-d5fd5e1adaba3e57477d5b6a96ad7c4795dc347b.zip
Don't random-generate altars to Lucy.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@835 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 1b38f80aeb..359c837cce 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -6744,7 +6744,8 @@ static int pick_an_altar(void)
{
altar_type = DNGN_ALTAR_ZIN + random2(NUM_GODS - 1);
}
- while (altar_type == DNGN_ALTAR_NEMELEX_XOBEH);
+ while (altar_type == DNGN_ALTAR_NEMELEX_XOBEH
+ || altar_type == DNGN_ALTAR_LUCY);
break;
}
}