diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-19 02:50:46 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-19 02:50:46 +0000 |
commit | 719fa66dd6259ea81b4efe23605d003168831a20 (patch) | |
tree | 15f1ede0603594304ef208f6912fd7de1b765a7d /crawl-ref/source/monstuff.cc | |
parent | a95aa60b90a0fd02a8cf7002a2b127298f56559b (diff) | |
download | crawl-ref-719fa66dd6259ea81b4efe23605d003168831a20.tar.gz crawl-ref-719fa66dd6259ea81b4efe23605d003168831a20.zip |
Add yet more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3718 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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())); |