summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 21:41:27 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 21:41:27 +0000
commitc2aad9d53735d0ac859227b27cd44733a28b31cf (patch)
tree0164ae65d718be73c0239ad174053a0c11216543 /crawl-ref/source/fight.cc
parenta28741dd2b29142210f64325cb2cb87c806d3409 (diff)
downloadcrawl-ref-c2aad9d53735d0ac859227b27cd44733a28b31cf.tar.gz
crawl-ref-c2aad9d53735d0ac859227b27cd44733a28b31cf.zip
Fix 2824455: Blade Hands not counting as slicing when wearing melded
gloves. Fix 2824494: Transformation check not taking into account special armour properties when trying to prevent fatal stat loss. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10361 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 d024e025a7..7f22a6d48d 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -3707,7 +3707,7 @@ int melee_attack::player_to_hit(bool random_factor)
your_to_hit += maybe_random2(you.dex, random_factor);
}
- switch ( you.attribute[ATTR_TRANSFORMATION] )
+ switch (you.attribute[ATTR_TRANSFORMATION])
{
case TRAN_SPIDER:
your_to_hit += maybe_random2(10, random_factor);