summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc13
1 files changed, 11 insertions, 2 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index db0d566a9d..decafc3ccd 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -1274,8 +1274,17 @@ void print_overview_screen()
{
if (e_order[i] == EQ_BODY_ARMOUR || e_order[i] == EQ_HELMET)
{
- snprintf(buf, sizeof buf,
- "%-7s: <lightgray>(ill-fitting)</lightgray>", slot);
+ if (!you_tran_can_wear(e_order[i]))
+ {
+ snprintf(buf, sizeof buf, "%-7s: "
+ "<darkgray>(currently unavailable)</darkgray>",
+ slot);
+ }
+ else
+ { snprintf(buf, sizeof buf,
+ "%-7s: <lightgray>(ill-fitting)</lightgray>",
+ slot);
+ }
}
else
{