summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 21:21:02 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 21:21:02 +0000
commit81267749e6aaaf8b532692a85af73e5838663575 (patch)
tree7ed873c84643e7f6fd770f823c50383e65a26ca2 /crawl-ref/source/fight.cc
parent7a76ccd4b9e13ff52142dd5d52ac8dd4ae59dc32 (diff)
downloadcrawl-ref-81267749e6aaaf8b532692a85af73e5838663575.tar.gz
crawl-ref-81267749e6aaaf8b532692a85af73e5838663575.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5865 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 737b54ee9e..632dc9329c 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1650,7 +1650,7 @@ int melee_attack::player_weapon_type_modify(int damage)
return (damage);
}
- switch (weapon? get_damage_type(*weapon) : -1)
+ switch (weapon ? get_damage_type(*weapon) : -1)
{
case DAM_PIERCE:
if (damage < HIT_MED)