From 719fa66dd6259ea81b4efe23605d003168831a20 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 19 Mar 2008 02:50:46 +0000 Subject: Add yet more whitespace fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3718 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index ff847df0f3..2800fd1794 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -220,7 +220,7 @@ bool curse_an_item( bool decay_potions ) if (item_cursed( you.inv[i] )) continue; - if (you.inv[i].base_type == OBJ_POTIONS + if (you.inv[i].base_type == OBJ_POTIONS && (!decay_potions || you.inv[i].sub_type == POT_DECAY)) { continue; @@ -250,7 +250,7 @@ bool curse_an_item( bool decay_potions ) { int amount = random2(you.inv[item].quantity) + 1; split_blood_potions_into_decay(item, amount); - + // Xom is amused if this happens to thirsty vampires if (you.species == SP_VAMPIRE && you.hunger_state <= HS_HUNGRY) xom_is_stimulated(32 * amount); @@ -271,7 +271,7 @@ bool curse_an_item( bool decay_potions ) return (true); } -static void monster_drop_ething(monsters *monster, +static void monster_drop_ething(monsters *monster, bool mark_item_origins = false) { const bool hostile_grid = grid_destroys_items(grd(monster->pos())); -- cgit v1.2.3-54-g00ecf