projects
/
crawl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
e962be8
)
Recolour weapons on the HUD while corroded (Patashu)
author
Chris Campbell
<chriscampbell89@gmail.com>
Mon, 16 Jun 2014 16:09:27 +0000 (17:09 +0100)
committer
Chris Campbell
<chriscampbell89@gmail.com>
Mon, 16 Jun 2014 16:09:27 +0000 (17:09 +0100)
crawl-ref/source/output.cc
patch
|
blob
|
history
diff --git
a/crawl-ref/source/output.cc
b/crawl-ref/source/output.cc
index
4ccdf92
..
1e48dc1
100644
(file)
--- 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;