summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 18:22:35 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 18:22:35 +0000
commitc1bcbec614c07a816debe3a6e1a67baeb84712e0 (patch)
tree763edba3e6f39426f088fced6df0263852c41262 /crawl-ref/source/spells3.cc
parent2ee0afe954a7c72856fd5f0f7d3080012638bb98 (diff)
downloadcrawl-ref-c1bcbec614c07a816debe3a6e1a67baeb84712e0.tar.gz
crawl-ref-c1bcbec614c07a816debe3a6e1a67baeb84712e0.zip
Consolidate the (single) spatial vortex-summoning routines, and add more
minor cleanups. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5667 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index f45f368fe0..8c9ee35340 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -417,10 +417,10 @@ bool summon_shadow(bool god_gift, bool force_hostile)
{
return (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))) != -1);
+ !force_hostile ? BEH_FRIENDLY : BEH_HOSTILE,
+ 2, you.pos(),
+ !force_hostile ? you.pet_target : MHITYOU,
+ (god_gift ? MG_GOD_GIFT : 0))) != -1);
}
bool cast_call_imp(int pow, bool god_gift)