summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mstuff2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-13 19:14:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-13 19:14:52 +0000
commit7fec7efc88ca3be5d84b116f4c131940f4537e6e (patch)
tree45d61da45e02591445d8b02f4c9c526f3c83c117 /crawl-ref/source/mstuff2.cc
parenta8cb3e6b0d4643f4c1615edc08955a435f7161ea (diff)
downloadcrawl-ref-7fec7efc88ca3be5d84b116f4c131940f4537e6e.tar.gz
crawl-ref-7fec7efc88ca3be5d84b116f4c131940f4537e6e.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5782 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mstuff2.cc')
-rw-r--r--crawl-ref/source/mstuff2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index d6be6d1032..4b2cc07dfe 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -2243,7 +2243,7 @@ bolt mons_spells( int spell_cast, int power )
} // end mons_spells()
static int _monster_abjure_square(const coord_def &pos,
- int power, int test_only,
+ int power, int actual,
int wont_attack)
{
const int mindex = mgrd(pos);
@@ -2317,7 +2317,7 @@ static int _monster_abjuration(const monsters *caster, bool actual)
int number_hit =
_apply_radius_around_square(caster->pos(), rad,
_monster_abjure_square,
- pow, !actual, wont_attack);
+ pow, actual, wont_attack);
maffected += number_hit;