diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-05-26 02:27:27 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-26 02:31:35 -0400 |
commit | 2fd031def8741e5a75b6bc87f78fe97df4a278ed (patch) | |
tree | 7165b88bd88e01c07f4e26736a2617a5a636eeff /crawl-ref/source/status.cc | |
parent | 45708ce3bb43928b896f86db63b39e3b3dc107a7 (diff) | |
download | crawl-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.cc | 2 |
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 }; |