diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-23 06:11:53 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-23 06:11:53 +0000 |
commit | bcaca7e157d99d683b6c389b99cc25b5e1286e13 (patch) | |
tree | a11a518b7c98d69929c695aaff0bb999cd5ec627 /crawl-ref/source/item_use.cc | |
parent | 6613e6733b6c49285266bd5df92ca93fc5b6b091 (diff) | |
download | crawl-ref-bcaca7e157d99d683b6c389b99cc25b5e1286e13.tar.gz crawl-ref-bcaca7e157d99d683b6c389b99cc25b5e1286e13.zip |
Add whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7294 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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); |