From bcaca7e157d99d683b6c389b99cc25b5e1286e13 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 23 Oct 2008 06:11:53 +0000 Subject: Add whitespace fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7294 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 9834c4bd23..ce6a2e8b86 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -1766,7 +1766,7 @@ void _merge_ammo_in_inventory(int slot) { if (i == slot || !is_valid_item(you.inv[i])) continue; - + // Merge with the thrower slot. This could be a bad // thing if you're wielding IDed ammo and firing from // an unIDed stack...but that's a pretty remote case. @@ -4293,11 +4293,11 @@ static void _vulnerability_scroll() monsters& mon = menv[targ_monst]; for (unsigned int i = 0; i < ARRAYSZ(lost_enchantments); ++i) mon.del_ench(lost_enchantments[i], true, true); - + // If relevant, monsters have their MR halved. if (!mons_immune_magic(&mon)) mon.add_ench(lowered_mr); - + // Annoying but not enough to turn friendlies against you. behaviour_event(&mon, ME_ANNOY, MHITYOU); } @@ -4527,7 +4527,7 @@ void read_scroll(int slot) id_the_scroll = false; } else - { + { // Also sets wield_change. do_curse_item( *you.weapon(), false ); learned_something_new(TUT_YOU_CURSED); -- cgit v1.2.3-54-g00ecf