From 65705e10994f2a18e8c69542ee1af23a19a1e5a4 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sun, 15 Nov 2009 16:02:06 +0100 Subject: Fix a few whitespace errors. --- crawl-ref/source/item_use.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/item_use.cc') 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) { -- cgit v1.2.3-54-g00ecf