summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index a6b06e0e04..b4d8ab8131 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6345,18 +6345,11 @@ int player::damage_type(int)
const int wpn = equip[ EQ_WEAPON ];
if (wpn != -1)
- {
return (get_vorpal_type(inv[wpn]));
- }
- else if (equip[EQ_GLOVES] == -1
- && attribute[ATTR_TRANSFORMATION] == TRAN_BLADE_HANDS)
- {
+ else if (attribute[ATTR_TRANSFORMATION] == TRAN_BLADE_HANDS)
return (DVORP_SLICING);
- }
else if (has_usable_claws())
- {
return (DVORP_CLAWING);
- }
return (DVORP_CRUSHING);
}
@@ -6368,7 +6361,7 @@ int player::damage_brand(int)
if (wpn != -1)
{
- if ( !is_range_weapon(inv[wpn]) )
+ if (!is_range_weapon(inv[wpn]))
ret = get_weapon_brand( inv[wpn] );
}
else if (duration[DUR_CONFUSING_TOUCH])