diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-21 15:16:15 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-21 15:16:15 +0000 |
commit | a0fc101bb8397b81ccd9cf5c1137764e14c57e89 (patch) | |
tree | 43de33e541d4274cc6787ad53571730ca8f91224 /crawl-ref/source/notes.cc | |
parent | d5efde9cb99ea1e17d8e7f80e865dd1cacc37149 (diff) | |
download | crawl-ref-a0fc101bb8397b81ccd9cf5c1137764e14c57e89.tar.gz crawl-ref-a0fc101bb8397b81ccd9cf5c1137764e14c57e89.zip |
Fixed note taking (NOTE_HP_CHANGE) for invisible monsters
(bug 1786776) and in general (wasn't working).
Also tweaked tutorial message on burning spellbooks
(Bug 1799350).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2174 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index c675b30639..e92c71ff3d 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -130,7 +130,9 @@ static bool is_noteworthy( const Note& note ) /* hp noteworthiness is handled in its own function */ if ( note.type == NOTE_HP_CHANGE && !is_noteworthy_hp(note.first, note.second) ) + { return false; + } /* skills are noteworthy if in the skill value list or if it's a new maximal skill (depending on options) */ |