summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/status.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-11 21:51:54 -0400
committerNeil Moore <neil@s-z.org>2014-06-11 21:57:46 -0400
commite36b84c4dc99b0e1f8eb6a557c8254f5b3bffea2 (patch)
treec8c16b3a36428abc05b41539ca6bfb3e5884915b /crawl-ref/source/status.cc
parent85e90856b028155704bba9b9d3f6a359241932d5 (diff)
downloadcrawl-ref-e36b84c4dc99b0e1f8eb6a557c8254f5b3bffea2.tar.gz
crawl-ref-e36b84c4dc99b0e1f8eb6a557c8254f5b3bffea2.zip
Colour -Potions grey for mummies (petete)
There were objections to hiding it altogether. This matches the indicator for cTele on -cTele levels.
Diffstat (limited to 'crawl-ref/source/status.cc')
-rw-r--r--crawl-ref/source/status.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/status.cc b/crawl-ref/source/status.cc
index 8715ac5ac4..8ec0334e83 100644
--- a/crawl-ref/source/status.cc
+++ b/crawl-ref/source/status.cc
@@ -166,6 +166,11 @@ bool fill_status_info(int status, status_info* inf)
inf->light_colour = DARKGREY;
break;
+ case DUR_NO_POTIONS:
+ if (you.species == SP_MUMMY)
+ inf->light_colour = DARKGREY;
+ break;
+
case DUR_SWIFTNESS:
if (you.attribute[ATTR_SWIFTNESS] < 0)
{