From 21bbd0b71258395c9f2b6cbecfad426afe72a510 Mon Sep 17 00:00:00 2001 From: Johanna Ploog Date: Fri, 8 Jan 2010 17:01:00 +0100 Subject: Make harpies also steal food from the ground at the player's position. Previously, players could (and did!) drop all their food before engaging in combat with harpies. As long as they didn't step off the grid, their stash of food was safe. This is now no longer the case. --- crawl-ref/source/ouch.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/ouch.cc') diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 2813101bbe..fb3d9d181c 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -472,15 +472,15 @@ static bool _expose_invent_to_element(beam_type flavour, int strength) // These stack with conservation; they're supposed to be good. if (target_class == OBJ_SCROLLS - && you.mutation[MUT_CONSERVE_SCROLLS] - && !one_chance_in(10)) + && you.mutation[MUT_CONSERVE_SCROLLS] + && !one_chance_in(10)) { continue; } if (target_class == OBJ_POTIONS - && you.mutation[MUT_CONSERVE_POTIONS] - && !one_chance_in(10)) + && you.mutation[MUT_CONSERVE_POTIONS] + && !one_chance_in(10)) { continue; } -- cgit v1.2.3-54-g00ecf