summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/view.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index be3e305bb7..651638be16 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -299,9 +299,10 @@ static void get_symbol( int x, int y,
{
*ch = Feature[object].symbol;
+ const int colmask = *colour & CHATTR_COLMASK;
// Don't clobber with BLACK, because the colour should be already set.
- if (!*colour && Feature[object].colour != BLACK)
- *colour = Feature[object].colour;
+ if (Feature[object].colour != BLACK)
+ *colour = Feature[object].colour | colmask;
// Note anything we see that's notable
if (Feature[object].notable)