summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dactions.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:36:13 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 13:03:13 +0200
commit9042de61fb4f05a9da01d470ef325d6c6381dd28 (patch)
tree9801b1dfd90fd296dbfe8a4f20f269913bf5550c /crawl-ref/source/dactions.cc
parent53671ccab2db8416aa16b9df6ba799e0cfaa78dd (diff)
downloadcrawl-ref-9042de61fb4f05a9da01d470ef325d6c6381dd28.tar.gz
crawl-ref-9042de61fb4f05a9da01d470ef325d6c6381dd28.zip
Remove parentheses around return (simple_function_call).
For way too paranoid and underinclusive values of "simple".
Diffstat (limited to 'crawl-ref/source/dactions.cc')
-rw-r--r--crawl-ref/source/dactions.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dactions.cc b/crawl-ref/source/dactions.cc
index c653e5dc9f..f6b46a34cf 100644
--- a/crawl-ref/source/dactions.cc
+++ b/crawl-ref/source/dactions.cc
@@ -65,15 +65,15 @@ static bool _mons_matches_counter(const monster* mon, daction_type act)
return (mon->wont_attack() && mon->is_actual_spellcaster());
case DACT_ALLY_YRED_SLAVE:
// Changed: we don't force enslavement of those merely marked.
- return (is_yred_undead_slave(mon));
+ return is_yred_undead_slave(mon);
case DACT_ALLY_BEOGH: // both orcies and demons summoned by sorcerers
return (mon->wont_attack() && mons_is_god_gift(mon, GOD_BEOGH));
case DACT_ALLY_SLIME:
- return (is_fellow_slime(mon));
+ return is_fellow_slime(mon);
case DACT_ALLY_PLANT:
// No check for friendliness since we pretend all plants became friendly
// the moment you converted to Fedhas.
- return (mons_is_plant(mon));
+ return mons_is_plant(mon);
// Not a stored counter:
case DACT_ALLY_TROG: