From ae6df292b0d78dc747646e67b2befab7fe326f5c Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 15 May 2009 02:16:29 +0000 Subject: Add minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9770 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abl-show.cc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/abl-show.cc') diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index d1d3838eac..c9fcf03bc7 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1299,7 +1299,7 @@ static bool _do_ability(const ability_def& abil) random_blink(true); if (abil.ability == ABIL_EVOKE_BLINK) - exercise( SK_EVOCATIONS, 1 ); + exercise(SK_EVOCATIONS, 1); break; case ABIL_EVOKE_BERSERK: // amulet of rage, randarts @@ -1312,17 +1312,17 @@ static bool _do_ability(const ability_def& abil) mpr("You're too hungry to berserk."); return (false); } - else if ( !you.can_go_berserk(true) ) + else if (!you.can_go_berserk(true)) return (false); // only exercise if berserk succeeds // because of the test above, this should always happen, - // but I'm leaving it in -- haranp - if ( go_berserk(true) ) - exercise( SK_EVOCATIONS, 1 ); + // but I'm leaving it in - haranp + if (go_berserk(true)) + exercise(SK_EVOCATIONS, 1); break; - // Fly (kenku) -- eventually becomes permanent (see acr.cc). + // Fly (kenku) - eventually becomes permanent (see acr.cc). case ABIL_FLY: cast_fly( you.experience_level * 4 ); @@ -1343,9 +1343,7 @@ static bool _do_ability(const ability_def& abil) return (false); } else - { - cast_fly( you.experience_level * 2 ); - } + cast_fly(you.experience_level * 2); break; // DEMONIC POWERS: -- cgit v1.2.3-54-g00ecf