summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 02:38:08 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 02:38:08 +0000
commitfe72c7328fd2e8419debec5a3b82758af469fdc3 (patch)
tree60f49cf34c31a8a632c51774602035c212d5b68a /crawl-ref
parent9814bf7bd43d11190183655578dbceaff106befc (diff)
downloadcrawl-ref-fe72c7328fd2e8419debec5a3b82758af469fdc3.tar.gz
crawl-ref-fe72c7328fd2e8419debec5a3b82758af469fdc3.zip
Remove now-unused function.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5743 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/spells3.cc35
1 files changed, 0 insertions, 35 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index b416240cb2..6f0d5cc944 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -413,41 +413,6 @@ bool cast_sublimation_of_blood(int pow)
return (success);
}
-bool summon_shadows(int pow, bool god_gift, bool force_hostile,
- bool quiet)
-{
- bool success = false;
-
- // Maximum power is 300 (11 shadows).
- const int how_many = (pow / 30 + 1);
-
- if (!quiet)
- {
- mpr(how_many > 1 ? "Flickering shadows surround you."
- : "A nearby shadow flickers.");
- }
-
- for (int i = 0; i < how_many; ++i)
- {
- int monster =
- create_monster(
- mgen_data(MONS_SHADOW,
- !force_hostile ? BEH_FRIENDLY : BEH_HOSTILE,
- 2, you.pos(),
- !force_hostile ? you.pet_target : MHITYOU,
- (god_gift ? MG_GOD_GIFT : 0) | MG_FORCE_BEH));
-
- if (monster != -1)
- {
- success = true;
-
- player_angers_monster(&menv[monster]);
- }
- }
-
- return (success);
-}
-
bool cast_call_imp(int pow, bool god_gift)
{
bool success = false;