summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 22:22:54 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 22:22:54 +0000
commit2feaed672eed57c0680820b77594dbb7001e17f4 (patch)
treef473c89220caba7c7857c52853c9747dc75ff897 /crawl-ref/source/fight.cc
parent37fa908ee1771a94b5e8b7a69205675a5ca1235f (diff)
downloadcrawl-ref-2feaed672eed57c0680820b77594dbb7001e17f4.tar.gz
crawl-ref-2feaed672eed57c0680820b77594dbb7001e17f4.zip
Add more spacing fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5868 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 632dc9329c..635bc99fcf 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -3448,7 +3448,7 @@ void melee_attack::check_defender_train_armour()
void melee_attack::mons_set_weapon(const mon_attack_def &attk)
{
- weapon = attk.type == AT_HIT? attacker->weapon(attack_number) : NULL;
+ weapon = (attk.type == AT_HIT) ? attacker->weapon(attack_number) : NULL;
damage_brand = attacker->damage_brand(attack_number);
}