diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-15 16:02:06 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-15 16:02:06 +0100 |
commit | 65705e10994f2a18e8c69542ee1af23a19a1e5a4 (patch) | |
tree | 7711755fbdfb61ebc021e1d3731a52e421c48d2e /crawl-ref/source/item_use.cc | |
parent | 6b9d38645fde3fd74cdd7fecc4523d4d36ee4318 (diff) | |
download | crawl-ref-65705e10994f2a18e8c69542ee1af23a19a1e5a4.tar.gz crawl-ref-65705e10994f2a18e8c69542ee1af23a19a1e5a4.zip |
Fix a few whitespace errors.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index b4da7b7f6a..d73e975b89 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2052,9 +2052,9 @@ bool setup_missile_beam(const actor *agent, bolt &beam, item_def &item, const bool reaping = (bow_brand == SPWPN_REAPING || ammo_brand == SPMSL_REAPING) && bow_brand != SPWPN_HOLY_WRATH; - const bool charged = bow_brand == SPWPN_ELECTROCUTION + const bool charged = bow_brand == SPWPN_ELECTROCUTION || ammo_brand == SPMSL_ELECTRIC; - const bool blessed = bow_brand == SPWPN_HOLY_WRATH + const bool blessed = bow_brand == SPWPN_HOLY_WRATH && ammo_brand != SPMSL_REAPING; ASSERT(!exploding || !is_artefact(item)); @@ -2822,7 +2822,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, } // check for returning ammo from launchers - if (returning && projected == LRET_LAUNCHED) + if (returning && projected == LRET_LAUNCHED) { switch (lnchType) { |