diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-10-25 23:03:00 -0700 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-10-26 13:40:40 +0530 |
commit | ad0e497ea4314b08bafe3fd74b32ee9e8d42e1c4 (patch) | |
tree | e45ece326b1acadec349a6353cfbbae9c4e3f153 /crawl-ref/source | |
parent | 7448e4e9a942cc8ea64315ba3084541af8e6c8a2 (diff) | |
download | crawl-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.cc | 3 |
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; |