summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 621abf33bd..adcb48127b 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -185,6 +185,10 @@ static bool _find_butchering_implement( bool fallback )
// automatically.
if (const item_def *wpn = you.weapon())
{
+ // No switching necessary.
+ if (can_cut_meat( *wpn ))
+ return (false);
+
if (wpn->base_type == OBJ_WEAPONS
&& item_type_known(*wpn)
&& get_weapon_brand(*wpn) == SPWPN_DISTORTION)
@@ -195,9 +199,6 @@ static bool _find_butchering_implement( bool fallback )
return (false);
}
- // No switching necessary.
- if (can_cut_meat( *wpn ))
- return (false);
}
int old_weapon = you.equip[EQ_WEAPON];