summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-10-25 23:03:00 -0700
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-10-26 13:40:40 +0530
commitad0e497ea4314b08bafe3fd74b32ee9e8d42e1c4 (patch)
treee45ece326b1acadec349a6353cfbbae9c4e3f153 /crawl-ref/source
parent7448e4e9a942cc8ea64315ba3084541af8e6c8a2 (diff)
downloadcrawl-ref-ad0e497ea4314b08bafe3fd74b32ee9e8d42e1c4.tar.gz
crawl-ref-ad0e497ea4314b08bafe3fd74b32ee9e8d42e1c4.zip
Floor colors shouldn't override items and clouds
Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 3e41341b20..1ff414295a 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -445,7 +445,8 @@ static void _get_symbol( const coord_def& where,
*ch = magic_mapped? fdef.magic_symbol
: fdef.symbol;
- if (colour)
+ // Don't recolor items
+ if (colour && object < NUM_REAL_FEATURES)
{
const int colmask = *colour & COLFLAG_MASK;