summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-08 16:35:16 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-08 16:36:10 -0600
commit6bc45a16ae8507bf7fb59d40d8d420de1f7193e1 (patch)
tree82041c6b24a92c4172476f5412d464a2616c2ad1 /crawl-ref/source/monplace.cc
parent264758cf866f666f1fbd2e47288eed12bc0d0b06 (diff)
downloadcrawl-ref-6bc45a16ae8507bf7fb59d40d8d420de1f7193e1.tar.gz
crawl-ref-6bc45a16ae8507bf7fb59d40d8d420de1f7193e1.zip
In Yred's retribution, replace forced Animate Dead with summoning
hostile zombified monsters.
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 303d143e20..f7c1b7fb10 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -1310,7 +1310,7 @@ static int _place_monster_aux(const mgen_data &mg,
return (id);
}
-static monster_type _pick_random_zombie()
+monster_type pick_random_zombie()
{
static std::vector<monster_type> zombifiable;
if (zombifiable.empty())
@@ -1344,7 +1344,7 @@ monster_type pick_local_zombifiable_monster_type(int power)
int cls;
while (true)
{
- cls = _pick_random_zombie();
+ cls = pick_random_zombie();
bool ignore_rarity = false;
// On certain branches, zombie creation will fail if we use the
@@ -1442,7 +1442,7 @@ static void _define_zombie(int mid, monster_type ztype, monster_type cs,
// incredible OOD zombies.
while (true)
{
- cls = _pick_random_zombie();
+ cls = pick_random_zombie();
// Actually pick a monster that is happy where we want to put it.
// Fish zombies on land are helpless and uncool.