From a0fc101bb8397b81ccd9cf5c1137764e14c57e89 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 21 Sep 2007 15:16:15 +0000 Subject: 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 --- crawl-ref/source/notes.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/notes.cc') 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) */ -- cgit v1.2.3-54-g00ecf