summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-16 13:50:28 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-16 23:59:13 +0200
commit6ca8c092ae24814196a8f76e526637f731fb8160 (patch)
tree10a40d94ad441e6d5a338365f7323c7ce72791c2 /crawl-ref/source/showsymb.cc
parente322a3c4051aec1761ba563e45cb62759e0c327c (diff)
downloadcrawl-ref-6ca8c092ae24814196a8f76e526637f731fb8160.tar.gz
crawl-ref-6ca8c092ae24814196a8f76e526637f731fb8160.zip
Ignore attempts to recolour traps, stairs or altars.
Too many vaults want to have, say, green floor where a trap is, which will make the trap green once it is detected.
Diffstat (limited to 'crawl-ref/source/showsymb.cc')
-rw-r--r--crawl-ref/source/showsymb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc
index 9a10761cb8..3198b37198 100644
--- a/crawl-ref/source/showsymb.cc
+++ b/crawl-ref/source/showsymb.cc
@@ -81,7 +81,7 @@ unsigned short _cell_feat_show_colour(const map_cell& cell,
{
colour = LIGHTGREEN;
}
- else if (cell.feat_colour())
+ else if (cell.feat_colour() && !norecolour)
colour = cell.feat_colour();
else
{