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/abl-show.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 71374f6498..99ba52f35e 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -868,17 +868,17 @@ bool activate_ability() mpr("Sorry, you're not good enough to have a special ability."); crawl_state.zero_turns_taken(); - return false; + return (false); } if (you.duration[DUR_CONF]) { talents = your_talents(true); - if ( talents.empty() ) + if (talents.empty()) { mpr("You're too confused!"); crawl_state.zero_turns_taken(); - return false; + return (false); } } @@ -1895,9 +1895,9 @@ static bool _do_ability(const ability_def& abil) case ABIL_RENOUNCE_RELIGION: if (yesno("Really renounce your faith, foregoing its fabulous benefits?", - false, 'n') + false, 'n') && yesno("Are you sure you won't change your mind later?", - false, 'n' )) + false, 'n' )) { excommunication(); } @@ -1911,7 +1911,7 @@ static bool _do_ability(const ability_def& abil) mpr("Sorry, you can't do that."); break; } - return true; + return (true); } static void _pay_ability_costs(const ability_def& abil) -- cgit v1.2.3-54-g00ecf