summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-13 17:01:15 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-13 17:01:15 +0000
commit714de3b1aebac6b7d498f17c6cfc5956cd77e349 (patch)
tree09e697da6d7e4c52a6a4295658580f5708b55fc1 /crawl-ref/source/xom.cc
parent5c4f3b7474b3dcadf255d43b87f2a7119d9127d4 (diff)
downloadcrawl-ref-714de3b1aebac6b7d498f17c6cfc5956cd77e349.tar.gz
crawl-ref-714de3b1aebac6b7d498f17c6cfc5956cd77e349.zip
Add minor documentation updates.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9761 c06c8d41-db1a-0410-9941-cceddc491573
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 59b7360cc3..33832cca83 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -815,9 +815,9 @@ static bool _is_chaos_upgradeable(const item_def &item,
}
else
{
- // If the weapon is a launcher and the monster is either out
- // of ammo or is carrying javelins then don't bother upgrading
- // launcher.
+ // If the weapon is a launcher, and the monster is either out
+ // of ammo or is carrying javelins, then don't bother upgrading
+ // the launcher.
if (is_range_weapon(item)
&& (mon->inv[MSLOT_MISSILE] == NON_ITEM
|| !has_launcher(mitm[mon->inv[MSLOT_MISSILE]])))