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.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index 0930e3f000..5a03322aab 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -51,21 +51,21 @@ static bool _is_noteworthy_skill_level( int level )
{
for (unsigned int i = 0; i < Options.note_skill_levels.size(); ++i)
if (level == Options.note_skill_levels[i])
- return true;
+ return (true);
- return false;
+ return (false);
}
static bool _is_highest_skill( int skill )
{
- for ( int i = 0; i < NUM_SKILLS; ++i )
+ for (int i = 0; i < NUM_SKILLS; ++i)
{
- if ( i == skill )
+ if (i == skill)
continue;
- if ( you.skills[i] >= you.skills[skill] )
- return false;
+ if (you.skills[i] >= you.skills[skill])
+ return (false);
}
- return true;
+ return (true);
}
static bool _is_noteworthy_hp( int hp, int maxhp )