diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-09-09 00:49:07 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-09-09 00:49:07 +0200 |
commit | c13fa1dade813fddc02c92a472f27e06691661c3 (patch) | |
tree | 3abf367c36ad1a53b11fe3428ba53b7e130a420a /crawl-ref/source/notes.cc | |
parent | 60d75a9666335b4b26b690d301f68f317ea890b3 (diff) | |
download | crawl-ref-c13fa1dade813fddc02c92a472f27e06691661c3.tar.gz crawl-ref-c13fa1dade813fddc02c92a472f27e06691661c3.zip |
s/mutation_name()/mutation_desc()/
It returns a whole-sentence description.
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 159fdf135c..d457170cfb 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -328,14 +328,14 @@ string Note::describe(bool when, bool where, bool what) const break; case NOTE_GET_MUTATION: result << "Gained mutation: " - << mutation_name(static_cast<mutation_type>(first), + << mutation_desc(static_cast<mutation_type>(first), second == 0 ? 1 : second); if (!name.empty()) result << " [" << name << "]"; break; case NOTE_LOSE_MUTATION: result << "Lost mutation: " - << mutation_name(static_cast<mutation_type>(first), + << mutation_desc(static_cast<mutation_type>(first), second == 3 ? 3 : second+1); if (!name.empty()) result << " [" << name << "]"; |