summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 04:14:40 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 04:14:40 +0000
commit8f9adf5d26be96c03eca477ef2a5e3fe20827ef2 (patch)
treedc48a634387eb07b789858f2df48dda1579af2c3 /crawl-ref/source/spells4.cc
parent35180d844ba8e0177c6d214358453e8e81c07082 (diff)
downloadcrawl-ref-8f9adf5d26be96c03eca477ef2a5e3fe20827ef2.tar.gz
crawl-ref-8f9adf5d26be96c03eca477ef2a5e3fe20827ef2.zip
Consolidate "Summon Butterflies" into summon_general_creature().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5521 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 5d3962aed9..89cbed5d39 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -414,21 +414,6 @@ void cast_detect_secret_doors(int pow)
mprf("You detect %s", (found > 0) ? "secret doors!" : "nothing.");
} // end cast_detect_secret_doors()
-void cast_summon_butterflies(int pow)
-{
- // explicitly limiting the number
- int num = 4 + random2(3) + random2( pow ) / 10;
- if (num > 16)
- num = 16;
-
- for (int scount = 1; scount < num; scount++)
- {
- create_monster(
- mgen_data(MONS_BUTTERFLY, BEH_FRIENDLY, 3,
- you.pos(), you.pet_target));
- }
-}
-
void cast_summon_large_mammal(int pow)
{
monster_type mon;