diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2013-01-20 16:50:22 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2013-01-20 16:50:22 +0000 |
commit | d67fa0f8d4932d2f89d943358a0481117e960181 (patch) | |
tree | 5f2b5f033cefa6ec5ebb45a8d8702e8bc37312c1 /crawl-ref/source/notes.cc | |
parent | d48edd72c0b6a02df44e51de3f8f777e23d62532 (diff) | |
parent | ba7d4b7e00b62146a6ee2a2addbb6033ae714127 (diff) | |
download | crawl-ref-d67fa0f8d4932d2f89d943358a0481117e960181.tar.gz crawl-ref-d67fa0f8d4932d2f89d943358a0481117e960181.zip |
Merge branch 'vehumet'
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 49711d1b73..a56b87efa4 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -120,7 +120,8 @@ static bool _is_noteworthy(const Note& note) || note.type == NOTE_PARALYSIS || note.type == NOTE_NAMED_ALLY || note.type == NOTE_ALLY_DEATH - || note.type == NOTE_FEAT_MIMIC) + || note.type == NOTE_FEAT_MIMIC + || note.type == NOTE_OFFERED_SPELL) { return true; } @@ -372,6 +373,11 @@ string Note::describe(bool when, bool where, bool what) const case NOTE_ALLY_DEATH: result << "Your ally " << name << " died"; break; + case NOTE_OFFERED_SPELL: + result << "Offered knowledge of " + << spell_title(static_cast<spell_type>(first)) + << " by Vehumet."; + break; default: result << "Buggy note description: unknown note type"; break; |