summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
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 /crawl-ref/source/xom.cc
parent4b6fda9b568ac1fdb0050be162ba45647a9733c3 (diff)
downloadcrawl-ref-6bfc75cc70b5f970c0ff00e59fbdfdaf0b7bf745.tar.gz
crawl-ref-6bfc75cc70b5f970c0ff00e59fbdfdaf0b7bf745.zip
Add more minor cosmetic fixes.
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc6
1 files changed, 3 insertions, 3 deletions
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)