summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc2
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) */