diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/food.cc | 5 | ||||
-rw-r--r-- | crawl-ref/source/quiver.cc | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 776ae2dbb2..02555cb734 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -1945,8 +1945,11 @@ bool is_preferred_food(const item_def &food) if (you.species == SP_VAMPIRE) return (is_blood_potion(food)); - if (food.base_type == OBJ_POTIONS && food.sub_type == POT_PORRIDGE) + if (food.base_type == OBJ_POTIONS && food.sub_type == POT_PORRIDGE + && item_type_known(food)) + { return (!player_mutation_level(MUT_CARNIVOROUS)); + } if (food.base_type != OBJ_FOOD) return (false); diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc index d6e52d5f36..da0ee0305b 100644 --- a/crawl-ref/source/quiver.cc +++ b/crawl-ref/source/quiver.cc @@ -144,8 +144,8 @@ void choose_item_for_quiver() { int slot = prompt_invent_item( "Quiver which item? (- for none, * to show all)", MT_INVLIST, - OSEL_THROWABLE, true, true, true, '-', -1, - NULL, OPER_QUIVER ); + OSEL_THROWABLE, true, true, true, '-', + you.equip[EQ_WEAPON], NULL, OPER_QUIVER ); if (slot == PROMPT_ABORT) { |