summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-11 11:59:07 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-11 11:59:07 +0000
commit907b837e7c0860984593413279c686d27a81a77e (patch)
tree17467a249c96a2ec459b54ab7034837abef320b7 /crawl-ref/source/notes.cc
parentcc9ba6c05755e235c14daa555bbd037813f91a6e (diff)
downloadcrawl-ref-907b837e7c0860984593413279c686d27a81a77e.tar.gz
crawl-ref-907b837e7c0860984593413279c686d27a81a77e.zip
Take a note when a labyrinth entrance is first found (via either magic mapping
or seeing it) and when a portal vault is first found (via seeing it only, since magic mapping doesn't provide the description of the portal). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7809 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index 63a40de98d..5a7f6bf743 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -124,7 +124,8 @@ static bool _is_noteworthy( const Note& note )
|| note.type == NOTE_LOSE_GOD
|| note.type == NOTE_PENANCE
|| note.type == NOTE_MOLLIFY_GOD
- || note.type == NOTE_DEATH)
+ || note.type == NOTE_DEATH
+ || note.type == NOTE_SEEN_FEAT)
{
return (true);
}
@@ -367,6 +368,8 @@ std::string Note::describe( bool when, bool where, bool what ) const
break;
case NOTE_MESSAGE:
result << name;
+ case NOTE_SEEN_FEAT:
+ result << "Found " << name;
break;
default:
result << "Buggy note description: unknown note type";