summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-28 08:47:53 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-28 08:47:53 -0500
commit32e36581cd8711538f523b698d99b770a1cc553c (patch)
treef55674f1f1d0221289e98370e2c3f72170b314fd /crawl-ref/source/fight.cc
parentba9e8a28d4444f554a142345cbba7110c77dd83f (diff)
downloadcrawl-ref-32e36581cd8711538f523b698d99b770a1cc553c.tar.gz
crawl-ref-32e36581cd8711538f523b698d99b770a1cc553c.zip
Add minor cosmetic fixes.
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());
}