diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-08-19 14:44:08 +0000 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-09-05 23:20:15 +0200 |
commit | b342e2a99de69e653a584b0463752e95bf73e5b1 (patch) | |
tree | afb02f11444e0019d38815f3fa0331a80043b4dc /crawl-ref/source/notes.cc | |
parent | 2466a7e78748f877d6e1a28af3cdf0048970ab47 (diff) | |
download | crawl-ref-b342e2a99de69e653a584b0463752e95bf73e5b1.tar.gz crawl-ref-b342e2a99de69e653a584b0463752e95bf73e5b1.zip |
Take note when revealing a feature mimic which has been noted before.
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 338b7f815d..230c3b3549 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -127,7 +127,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_BANISH_MONSTER) + || note.type == NOTE_BANISH_MONSTER + || note.type == NOTE_FEAT_MIMIC) { return (true); } @@ -385,6 +386,9 @@ std::string Note::describe(bool when, bool where, bool what) const case NOTE_SEEN_FEAT: result << "Found " << name; break; + case NOTE_FEAT_MIMIC: + result << name <<" was a mimic."; + break; case NOTE_XOM_EFFECT: result << "XOM: " << name; #if defined(DEBUG_XOM) || defined(NOTE_DEBUG_XOM) |