From 6bfc75cc70b5f970c0ff00e59fbdfdaf0b7bf745 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 13 Oct 2009 20:07:48 -0500 Subject: Add more minor cosmetic fixes. --- crawl-ref/source/spells1.cc | 2 +- crawl-ref/source/spells3.cc | 2 +- crawl-ref/source/xom.cc | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 8d503e2ca9..d480f36430 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -71,7 +71,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) crawl_state.cant_cmd_repeat("You can't repeat controlled blinks."); crawl_state.cancel_cmd_again(); crawl_state.cancel_cmd_repeat(); - return(1); + return (1); } // yes, there is a logic to this ordering {dlb}: diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index a64d074af9..b8a2032777 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1390,7 +1390,7 @@ void you_teleport(void) } } -static bool _teleport_player( bool allow_control, bool new_abyss_area ) +static bool _teleport_player(bool allow_control, bool new_abyss_area) { bool is_controlled = (allow_control && !you.confused() && player_control_teleport() diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index fea76322c2..46b1c394f9 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -518,15 +518,15 @@ static int _xom_makes_you_cast_random_spell(int sever, int tension, if (spell == FAKE_SPELL_MAGIC_MAPPING || spell == SPELL_DETECT_ITEMS) { - // If the level is already mostly explored, there's - // a chance we might try something else. + // If the level is already mostly explored, there's a chance + // we might try something else. const int explored = _exploration_estimate(); if (explored > 80 && x_chance_in_y(explored, 100)) return (XOM_DID_NOTHING); } } - // Handle magic mapping specially, now it's no longer a spell. + // Handle magic mapping specially, now that it's no longer a spell. if (spell == FAKE_SPELL_MAGIC_MAPPING) { if (you.level_type == LEVEL_PANDEMONIUM) -- cgit v1.2.3-54-g00ecf