From f858cfc60235a5cfb86dd2a2c510dde5e130a4bf Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 6 Nov 2009 13:37:03 -0600 Subject: Move checks for the berserk state into actor::berserk(). --- crawl-ref/source/food.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/food.cc') diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index b723b17da1..45cabbb224 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -523,7 +523,7 @@ bool butchery(int which_corpse) // It makes more sense that you first find out if there's anything // to butcher, *then* decide to actually butcher it. // The old code did it the other way. - if (!can_butcher && you.duration[DUR_BERSERKER]) + if (!can_butcher && you.berserk()) { mpr("You are too berserk to search for a butchering tool!"); return (false); -- cgit v1.2.3-54-g00ecf