summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/status.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-05-26 02:27:27 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-26 02:31:35 -0400
commit2fd031def8741e5a75b6bc87f78fe97df4a278ed (patch)
tree7165b88bd88e01c07f4e26736a2617a5a636eeff /crawl-ref/source/status.cc
parent45708ce3bb43928b896f86db63b39e3b3dc107a7 (diff)
downloadcrawl-ref-2fd031def8741e5a75b6bc87f78fe97df4a278ed.tar.gz
crawl-ref-2fd031def8741e5a75b6bc87f78fe97df4a278ed.zip
Make status lights iterate over statuses
This removes another place where durations were hardcoded. A light_text of "" now indicates no status light should be shown, a standard which was already informally used in the codebase.
Diffstat (limited to 'crawl-ref/source/status.cc')
-rw-r--r--crawl-ref/source/status.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/status.cc b/crawl-ref/source/status.cc
index b68b6b6a25..0b979debbc 100644
--- a/crawl-ref/source/status.cc
+++ b/crawl-ref/source/status.cc
@@ -26,7 +26,7 @@ struct duration_def
duration_type dur;
bool expire; // whether to do automat expiring transforms
int light_colour; // status light base colour
- string light_text; // for the status lights
+ string light_text; // for the status lights. "" means no status light.
string short_text; // for @: line
string long_text ; // for @ message
};