diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-13 21:13:45 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-13 21:13:45 -0700 |
commit | 9b5f7252e6af20ea4ae2f620f6e3da7b7f348beb (patch) | |
tree | e6b06ee8716491d10fa961da25d6645d758a5ad5 /crawl-ref/source/notes.cc | |
parent | 64ebc5910fabcb5ad9e9b1813df24c2ff9cb71c6 (diff) | |
download | crawl-ref-9b5f7252e6af20ea4ae2f620f6e3da7b7f348beb.tar.gz crawl-ref-9b5f7252e6af20ea4ae2f620f6e3da7b7f348beb.zip |
Added a note for mutations becoming permanent (Prism)
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index b17516f5d3..0d9350e053 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -345,6 +345,13 @@ string Note::describe(bool when, bool where, bool what) const if (!name.empty()) result << " [" << name << "]"; break; + case NOTE_PERM_MUTATION: + result << "Mutation became permanent: " + << mutation_desc(static_cast<mutation_type>(first), + second == 0 ? 1 : second); + if (!name.empty()) + result << " [" << name << "]"; + break; case NOTE_DEATH: result << name; break; |