summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-28 02:46:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-28 02:46:52 +0000
commit4553d341133ba1890702e50b24ac87e9b5bc0761 (patch)
treed2a87df6945c668afb7d5894e10b6bf8515c2cba /crawl-ref/source/xom.cc
parent1093f24b6ad30905f85b22ea676abc5899ee243a (diff)
downloadcrawl-ref-4553d341133ba1890702e50b24ac87e9b5bc0761.tar.gz
crawl-ref-4553d341133ba1890702e50b24ac87e9b5bc0761.zip
Comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4722 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 5c70544472..979c6a3fce 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -908,7 +908,7 @@ void xom_acts(bool niceness, int sever)
if (sever < 1)
sever = 1;
- // Nemelex's deck of punishment drawing the Xom card
+ // Nemelex's deck of punishment drawing the Xom card.
if (crawl_state.is_god_acting()
&& crawl_state.which_god_acting() != GOD_XOM)
{
@@ -942,7 +942,7 @@ void xom_acts(bool niceness, int sever)
;
}
- // Nemelex's deck of punishment drawing the Xom card
+ // Nemelex's deck of punishment drawing the Xom card.
if (crawl_state.is_god_acting()
&& crawl_state.which_god_acting() != GOD_XOM)
{
@@ -971,7 +971,7 @@ static void xom_check_less_runes(int runes_gones)
- you.attribute[ATTR_RUNES_IN_ZOT];
int was_avail = runes_avail + runes_gones;
- // No longer enough available runes to get into Zot
+ // No longer enough available runes to get into Zot.
if (was_avail >= NUMBER_OF_RUNES_NEEDED &&
runes_avail < NUMBER_OF_RUNES_NEEDED)
{
@@ -998,15 +998,14 @@ void xom_check_lost_item(const item_def& item)
!(item.flags & ISFLAG_BEEN_IN_INV))
{
// Player voluntarily entered Pan or the Abyss looking for
- // runes, yet never found it.
+ // runes, yet never found them.
if (item.plus == RUNE_ABYSSAL &&
you.attribute[ATTR_ABYSSAL_RUNES] == 0)
{
// Ignore Abyss area shifts.
if (you.level_type != LEVEL_ABYSS)
- // Abyssal runes are a lot more trouble to find
- // than demonic runes, so it gets twice the
- // stimulation.
+ // Abyssal runes are a lot more trouble to find than
+ // demonic runes, so they get twice the stimulation.
xom_is_stimulated(128, "Xom snickers.", true);
}
else if (item.plus == RUNE_DEMONIC &&