summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-13 20:07:48 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-13 20:07:48 -0500
commit6bfc75cc70b5f970c0ff00e59fbdfdaf0b7bf745 (patch)
treedc81037df9da5d13b2ea893c7cbefda47b3a312f
parent4b6fda9b568ac1fdb0050be162ba45647a9733c3 (diff)
downloadcrawl-ref-6bfc75cc70b5f970c0ff00e59fbdfdaf0b7bf745.tar.gz
crawl-ref-6bfc75cc70b5f970c0ff00e59fbdfdaf0b7bf745.zip
Add more minor cosmetic fixes.
-rw-r--r--crawl-ref/source/spells1.cc2
-rw-r--r--crawl-ref/source/spells3.cc2
-rw-r--r--crawl-ref/source/xom.cc6
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)