summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-12-30 03:27:21 -0800
committerStefan O'Rear <stefanor@cox.net>2009-12-30 03:27:57 -0800
commit74c535b701b7642b74b45934e78cadd7ab67a0e4 (patch)
treed80cb308cfc2ccc45a9e7b47f085a0abe24369c0 /crawl-ref/source/spells4.cc
parenta144abbba078cf5ec99f570f7b81da564577636a (diff)
downloadcrawl-ref-74c535b701b7642b74b45934e78cadd7ab67a0e4.tar.gz
crawl-ref-74c535b701b7642b74b45934e78cadd7ab67a0e4.zip
Ignore obscured items in the UI
I probably missed a few spots.
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 03dbf76e72..d4c78afc48 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1182,7 +1182,7 @@ void cast_fulsome_distillation(int /*pow*/)
int corpse = -1;
// Search items at the player's location for corpses.
- for (stack_iterator si(you.pos()); si; ++si)
+ for (stack_iterator si(you.pos(), true); si; ++si)
{
if (si->base_type == OBJ_CORPSES && si->sub_type == CORPSE_BODY)
{
@@ -1476,7 +1476,7 @@ bool cast_fragmentation(int pow, const dist& spd)
goto all_done;
}
- for (stack_iterator si(spd.target); si; ++si)
+ for (stack_iterator si(spd.target, true); si; ++si)
{
if (si->base_type == OBJ_CORPSES)
{