From 27257f4ac07c6e511890294153cf44c63f0aa7ce Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 4 Nov 2018 03:28:27 -0500 Subject: [PATCH] v0.7.0b: fixed both old and new bone pile logic being active --- .../shatteredpixeldungeon/items/Heap.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Heap.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Heap.java index d24ea2df1..547672e17 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Heap.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Heap.java @@ -126,16 +126,6 @@ public class Heap implements Bundlable { case REMAINS: case SKELETON: CellEmitter.center( pos ).start(Speck.factory(Speck.RATTLE), 0.1f, 3); - for (Item item : items) { - if (item.cursed) { - if (Wraith.spawnAt( pos ) == null) { - hero.sprite.emitter().burst( ShadowParticle.CURSE, 6 ); - hero.damage( hero.HP / 2, this ); - } - Sample.INSTANCE.play( Assets.SND_CURSED ); - break; - } - } break; default: }