summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index ae7b2b8ff8..8c650f3854 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -5437,7 +5437,7 @@ bool monster_attack(monsters* attacker, bool allow_unarmed)
// In case the monster hasn't noticed you, bumping into it will
// change that.
- behaviour_event( attacker, ME_ALERT, MHITYOU );
+ behaviour_event(attacker, ME_ALERT, MHITYOU);
melee_attack attk(attacker, &you, allow_unarmed);
attk.attack();
@@ -5449,7 +5449,7 @@ bool monsters_fight(monsters* attacker, monsters* defender,
bool allow_unarmed)
{
melee_attack attk(attacker, defender, allow_unarmed);
- return attk.attack();
+ return (attk.attack());
}