diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-15 02:16:29 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-15 02:16:29 +0000 |
commit | ae6df292b0d78dc747646e67b2befab7fe326f5c (patch) | |
tree | 1d133d21d951df2cdb68fcedec497a2b3eeca122 /crawl-ref/source/abl-show.cc | |
parent | 6f2121469dd3d4dd8bfd194623b74e2d2e1aeba3 (diff) | |
download | crawl-ref-ae6df292b0d78dc747646e67b2befab7fe326f5c.tar.gz crawl-ref-ae6df292b0d78dc747646e67b2befab7fe326f5c.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9770 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 16 |
1 files changed, 7 insertions, 9 deletions
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: |