summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/lev-pand.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-10-01 15:15:11 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-10-01 15:46:31 +0200
commitc72d970d5629f4786ad28d6cba467f87c275e15f (patch)
treea70ed5bf59b6b109f375dd9ad9eb6e17a98a6d24 /crawl-ref/source/lev-pand.cc
parent3d2760f8d149c9c1f5f0985ea570bd145091291b (diff)
downloadcrawl-ref-c72d970d5629f4786ad28d6cba467f87c275e15f.tar.gz
crawl-ref-c72d970d5629f4786ad28d6cba467f87c275e15f.zip
Unify monster choice code for Abyss, Pan (now works) and regular levels.
Also, have place:Pan use the common way. It is used only very, very occasionally in Pan itself, but 100% for Shadow Creatures in Pan and nearly 100% in three(!) of Zig level sets. I've also altered the monster set of Pan rares. Living creatures are bad theme-wise (removed), undead are boring (untouched... yet), demonic animals were missing (added). Also, added a few oddities like profane servitors.
Diffstat (limited to 'crawl-ref/source/lev-pand.cc')
-rw-r--r--crawl-ref/source/lev-pand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/lev-pand.cc b/crawl-ref/source/lev-pand.cc
index 2e7944e206..ae4a052bff 100644
--- a/crawl-ref/source/lev-pand.cc
+++ b/crawl-ref/source/lev-pand.cc
@@ -191,7 +191,7 @@ void pandemonium_mons(void)
{
do
pan_mons = random2(NUM_MONSTERS);
- while (!mons_pan(pan_mons));
+ while (!mons_pan_rare(pan_mons));
}
mgen_data mg(static_cast<monster_type>(pan_mons));
mg.level_type = LEVEL_PANDEMONIUM;