summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 12:36:46 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 12:36:46 +0000
commit10210317e5e2c2f49992a374363753043e01e1f2 (patch)
tree045a01ed444a2db7102c43c940259dde3b5c5e79 /crawl-ref/source/notes.cc
parentb3f493e9cb1b26dd74edad3ea6006863248e9e93 (diff)
downloadcrawl-ref-10210317e5e2c2f49992a374363753043e01e1f2.tar.gz
crawl-ref-10210317e5e2c2f49992a374363753043e01e1f2.zip
Made Abyss banishment noteworthy (somewhat hackish, uses USER_NOTE.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@741 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index a7c16bfe6c..94af4546e7 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -352,8 +352,8 @@ bool notes_are_active() {
return notes_active;
}
-void take_note( const Note& note ) {
- if ( notes_active && is_noteworthy( note ) )
+void take_note( const Note& note, bool force ) {
+ if ( notes_active && (force || is_noteworthy(note)) )
note_list.push_back( note );
}