From 7c3ec6bed4e81892c772db3e33d30f09164e7bb3 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 30 Jun 2008 14:53:42 +0000 Subject: Fix 2006479: worn unidentified =PR marking poisonous food as safe. Fix 2006014: character selection crashing after non-random book choice. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6248 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 07e8740533..7a20b95fbe 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -1846,7 +1846,7 @@ bool is_poisonous(const item_def &food) if (food.base_type != OBJ_FOOD && food.base_type != OBJ_CORPSES) return (false); - if (player_res_poison()) + if (player_res_poison(false)) return (false); return (mons_corpse_effect(food.plus) == CE_POISONOUS); -- cgit v1.2.3-54-g00ecf