summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-03 01:43:25 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-03 01:43:25 +0000
commitcca6195c042a64fed711dba3ea0d94bc78b410df (patch)
treebab4ebf846696618ac15accb449fddd6fbe63238 /crawl-ref/source/item_use.cc
parent18237732905aecff4279a4ad070f41a22db1e9cf (diff)
downloadcrawl-ref-cca6195c042a64fed711dba3ea0d94bc78b410df.tar.gz
crawl-ref-cca6195c042a64fed711dba3ea0d94bc78b410df.zip
Add minor whitespace and comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2986 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 23a783319a..5fbaf7423c 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -1758,7 +1758,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus,
// CALCULATIONS FOR LAUNCHED WEAPONS
if (projected == LRET_LAUNCHED)
{
- const item_def &launcher = you.inv[you.equip[EQ_WEAPON]];
+ const item_def &launcher = you.inv[you.equip[EQ_WEAPON]];
const int bow_brand = get_weapon_brand( launcher );
const int ammo_brand = get_ammo_brand( item );
bool poisoned = (ammo_brand == SPMSL_POISONED);
@@ -1797,7 +1797,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus,
// fix ammo damage bonus, since missiles only use inv_plus
ammoDamBonus = ammoHitBonus;
- // check for matches; dwarven,elven,orcish
+ // check for matches; dwarven, elven, orcish
if (!get_equip_race(you.inv[you.equip[EQ_WEAPON]]) == 0)
{
if (get_equip_race( you.inv[you.equip[EQ_WEAPON]] )
@@ -2082,7 +2082,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus,
&& (wepType == MI_STONE || wepType == MI_LARGE_ROCK)))
{
// elves with elven weapons
- if (get_equip_race(item) == ISFLAG_ELVEN
+ if (get_equip_race(item) == ISFLAG_ELVEN
&& player_genus(GENPC_ELVEN))
baseHit += 1;