From ee19f1ad5c1a6bd5589fa76f42f8dc28d8dda844 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 7 Dec 2007 07:08:01 +0000 Subject: Add still more whitespace and comment fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3016 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 5d6413734d..3e62c8f41f 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -1208,7 +1208,7 @@ static bool fire_item_matches(const item_def &item, unsigned fire_type) { if (!is_valid_item(item)) return (false); - + if (you.attribute[ATTR_HELD]) { if (item.base_type == OBJ_MISSILES) @@ -2183,7 +2183,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, baseDam = 0; exDamBonus = 0; ammoDamBonus = 0; - + // but accuracy is important for this one baseHit = 1; exHitBonus += (skill_bump(SK_THROWING) * 7 / 2); @@ -2356,10 +2356,10 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, pbolt.setup_retrace(); viewwindow(true, false); fire_beam(pbolt, NULL); - + msg::stream << item.name(DESC_CAP_THE) << " returns to your pack!" << std::endl; - + // Player saw the item return if (!is_artefact(you.inv[throw_2])) set_ident_flags(you.inv[throw_2], ISFLAG_KNOW_TYPE); -- cgit v1.2.3-54-g00ecf