summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-14 17:17:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-14 17:17:52 +0000
commit4461e8e2b1380e7f2790fa42eccbf54fbebb4b9e (patch)
treef26d264840b2bc604d68aec2d6c9bab57e41abbe /crawl-ref/source/player.cc
parentecdff56d9ff3bba10dc8d45994c3374e02e9454d (diff)
downloadcrawl-ref-4461e8e2b1380e7f2790fa42eccbf54fbebb4b9e.tar.gz
crawl-ref-4461e8e2b1380e7f2790fa42eccbf54fbebb4b9e.zip
Add minor cosmetic cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3273 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index fe969627d8..57152fc11e 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5752,10 +5752,10 @@ bool player::cannot_fight() const
return (false);
}
-// If you have a randart equipped that has the RAP_ANGRY property
+// If you have a randart equipped that has the RAP_ANGRY property,
// there's a 1/20 chance of it becoming activated whenever you
// attack a monster. (Same as the berserk mutation at level 1.)
-// The probabilites for actually going berserk are cumulative!
+// The probabilities for actually going berserk are cumulative!
static bool equipment_make_berserk()
{
for (int eq = EQ_WEAPON; eq < NUM_EQUIP; eq++)
@@ -5763,7 +5763,7 @@ static bool equipment_make_berserk()
const item_def *item = you.slot_item((equipment_type) eq);
if (!item)
continue;
-
+
if (!is_random_artefact(*item))
continue;