From db6775f6fcf45e64dd1ed27568532a27f2acf11d Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 21 Sep 2008 17:30:19 +0000 Subject: 2088461: identify Holy Wrath brand on failed wield. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6965 c06c8d41-db1a-0410-9941-cceddc491573 --- 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 85339ceab0..f5c0823b2d 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -204,7 +204,7 @@ static int _find_butchering_implement(int &butcher_tool) // Look for a butchering implement in your pack. for (int i = 0; i < ENDOFPACK; ++i) { - const item_def& tool(you.inv[i]); + item_def& tool(you.inv[i]); if (is_valid_item( tool ) && tool.base_type == OBJ_WEAPONS && can_cut_meat( tool ) -- cgit v1.2.3-54-g00ecf