summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-24 22:49:03 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-24 22:49:03 +0000
commitaf13176b28721a63037bc82e75778121f34a8ae1 (patch)
tree7a6616f15ccc925d0a1dedb84e44dfe8a8ede852 /crawl-ref/source/spells2.cc
parent699744855c0118c363391967d15f4667bf1c622d (diff)
downloadcrawl-ref-af13176b28721a63037bc82e75778121f34a8ae1.tar.gz
crawl-ref-af13176b28721a63037bc82e75778121f34a8ae1.zip
* Another patch by zebez: Display fountain tiles for magic mapping.
* Fix 2826781: Black background for Detect Items/Creatures tiles after magic mapping. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10393 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 1183c25e44..9df7dca1ca 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -98,7 +98,7 @@ int detect_items(int pow)
set_envmap_detected_item(*ri);
#ifdef USE_TILE
// Don't replace previously seen items with an unseen one.
- if (!is_terrain_seen(*ri))
+ if (!is_terrain_seen(*ri) && !is_terrain_mapped(*ri))
env.tile_bk_fg[ri->x][ri->y] = TILE_UNSEEN_ITEM;
#endif
}