diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-08-14 08:05:04 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-08-14 08:05:04 +0000 |
commit | 115d82391cbda83ad4daeca001ff19e0bc3a71d6 (patch) | |
tree | fa0944e1594aa881df653798faba44617c29d09b /crawl-ref | |
parent | c237acf0e4896db40a40da1498048addcf4e4d16 (diff) | |
download | crawl-ref-115d82391cbda83ad4daeca001ff19e0bc3a71d6.tar.gz crawl-ref-115d82391cbda83ad4daeca001ff19e0bc3a71d6.zip |
Fix 2836574: butchering with fingernails removing both gloves and
wielding a weapon. Patch by jokeserver. Thanks!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10544 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/food.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index c3f5e2bd27..12089b509c 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -571,8 +571,7 @@ bool butchery(int which_corpse) if (butcher_tool == -1 && gloved_butcher) removed_gloves = true; - - if (you.equip[EQ_WEAPON] != butcher_tool) + else if (you.equip[EQ_WEAPON] != butcher_tool) wpn_switch = true; } |