From 61cae4a761c2f72cda44ae269c7007b37a0c14a7 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 26 Jun 2008 10:39:39 +0000 Subject: Misc. minor cleanups. (Yes, a huge amount of them but still...) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/notes.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/notes.cc') 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 ) -- cgit v1.2.3-54-g00ecf