summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 02:04:51 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 02:04:51 +0000
commit187f5ddc800d1d8a779bbcfdb1af22f78f8c678d (patch)
tree8c1a29121dbac9e99b7df839a3613b810171c421 /crawl-ref/source/spells2.cc
parent15431f7e0c81d5df0144ab511c3cbd52b7e1d7cc (diff)
downloadcrawl-ref-187f5ddc800d1d8a779bbcfdb1af22f78f8c678d.tar.gz
crawl-ref-187f5ddc800d1d8a779bbcfdb1af22f78f8c678d.zip
Add a few last miscellaneous minor fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5626 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 0c238f3a6a..073a60f8bf 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -1526,7 +1526,8 @@ bool summon_elemental(int pow, bool god_gift,
mgen_data(mon,
friendly ? BEH_FRIENDLY : BEH_HOSTILE,
dur, coord_def(targ_x, targ_y),
- friendly ? you.pet_target : MHITYOU)) != -1)
+ friendly ? you.pet_target : MHITYOU,
+ god_gift ? MF_GOD_GIFT : 0)) != -1)
{
canned_msg(MSG_NOTHING_HAPPENS);
return (false);