summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-14 05:11:32 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-14 05:11:32 +0000
commit13ad9f1840a006ff68038615872ca48c3d160e07 (patch)
tree4f40b631b4ee39246ba21126b5b4ffd79b96fa05 /crawl-ref/source/spells3.cc
parent6ed1427c56501945836cf14e86dff4c16cb158c2 (diff)
downloadcrawl-ref-13ad9f1840a006ff68038615872ca48c3d160e07.tar.gz
crawl-ref-13ad9f1840a006ff68038615872ca48c3d160e07.zip
Make demon summoning via invocations produce friendly instead of charmed
demons again. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5808 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 57750b8e1c..14bd949813 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -514,7 +514,7 @@ bool summon_demon_type(monster_type mon, int pow, god_type god)
{
return _summon_demon_wrapper(pow, god, mon,
std::min(2 + (random2(pow) / 4), 6),
- false, random2(pow) > 3, false);
+ random2(pow) > 3, false, false);
}
bool cast_summon_demon(int pow, god_type god)