summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-08 17:01:00 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-08 17:05:44 +0100
commit21bbd0b71258395c9f2b6cbecfad426afe72a510 (patch)
treecdd06515db82de8dd855be4e20dbb2980efafe5f /crawl-ref/source/ouch.cc
parentc82178a80fe72434e46942c03632c0b7ee885494 (diff)
downloadcrawl-ref-21bbd0b71258395c9f2b6cbecfad426afe72a510.tar.gz
crawl-ref-21bbd0b71258395c9f2b6cbecfad426afe72a510.zip
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.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc8
1 files changed, 4 insertions, 4 deletions
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;
}