summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-cast.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-03-19 00:45:23 -0400
committerNeil Moore <neil@s-z.org>2014-03-19 00:46:08 -0400
commit13ce0bc76763faa5cf2c6167519e5c1040743480 (patch)
tree6a7517d150cc130c7c7289161766e56d0e71b121 /crawl-ref/source/mon-cast.cc
parent3572bd17dd2691f046d3eb6e42bdccb58e47dff9 (diff)
downloadcrawl-ref-13ce0bc76763faa5cf2c6167519e5c1040743480.tar.gz
crawl-ref-13ce0bc76763faa5cf2c6167519e5c1040743480.zip
Formatting fixes.
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r--crawl-ref/source/mon-cast.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc
index c5e129925b..70d15dcbac 100644
--- a/crawl-ref/source/mon-cast.cc
+++ b/crawl-ref/source/mon-cast.cc
@@ -1989,7 +1989,7 @@ static bool _ms_waste_of_time(const monster* mon, spell_type monspell)
// Don't let clones duplicate anything, to prevent exponential explosion
case SPELL_FAKE_MARA_SUMMON:
- return (mon->has_ench(ENCH_PHANTOM_MIRROR));
+ return mon->has_ench(ENCH_PHANTOM_MIRROR);
case SPELL_PHANTOM_MIRROR:
if (!mon->has_ench(ENCH_PHANTOM_MIRROR))
@@ -2428,9 +2428,7 @@ static void _cast_druids_call(const monster* mon)
: random_range(1, 2));
for (int i = 0; i < num; ++i)
- {
_place_druids_call_beast(mon, mon_list[i], target);
- }
}
static double _angle_between(coord_def origin, coord_def p1, coord_def p2)