summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 05:21:10 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 05:21:10 +0000
commit5c5f41caea2c309b8ff1cb72dab9fa6ec857a2d8 (patch)
treee0c23158ef8453bd9871c3de9ced749b5b02db42 /crawl-ref/source/spells2.h
parent669612952bb06d9144b9601628e2357202d2d776 (diff)
downloadcrawl-ref-5c5f41caea2c309b8ff1cb72dab9fa6ec857a2d8.tar.gz
crawl-ref-5c5f41caea2c309b8ff1cb72dab9fa6ec857a2d8.zip
Clean up "Summon Elemental".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5584 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.h')
-rw-r--r--crawl-ref/source/spells2.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h
index 8cb81f9b53..b99e6273d3 100644
--- a/crawl-ref/source/spells2.h
+++ b/crawl-ref/source/spells2.h
@@ -59,8 +59,9 @@ int corpse_rot(int power);
/* ***********************************************************************
* called from: it_use3 - spell
* *********************************************************************** */
-bool summon_elemental(int pow, int restricted_type,
- unsigned char unfriendly);
+bool summon_elemental(int pow, bool god_gift = false,
+ monster_type restricted_type = MONS_PROGRAM_BUG,
+ int unfriendly = 2);
struct dist;
// last updated 24may2000 {dlb}