summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-06-16 17:09:27 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-06-16 17:09:27 +0100
commitb42009bcbeb1e694e4654264a3b5bd917103ad90 (patch)
treeaf46ca5f7960a29343bfbbe65132a27534c172c7 /crawl-ref/source/output.cc
parente962be8d23cdd4f35f2f7845d7a4159ddafc9d18 (diff)
downloadcrawl-ref-b42009bcbeb1e694e4654264a3b5bd917103ad90.tar.gz
crawl-ref-b42009bcbeb1e694e4654264a3b5bd917103ad90.zip
Recolour weapons on the HUD while corroded (Patashu)
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 4ccdf92601..1e48dc1fb0 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -829,6 +829,8 @@ static void _print_stats_wp(int y)
const int prefcol = menu_colour(wpn.name(DESC_INVENTORY), prefix, "stats");
if (prefcol != -1)
col = prefcol;
+ else if (you.duration[DUR_CORROSION])
+ col = RED;
else
col = LIGHTGREY;