diff options
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) { |