From 737563f2565803c591bfd27169ebab708d9f1000 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 6 Jul 2015 23:01:02 -0400 Subject: [PATCH] v0.3.1: fixed a bug where polymorphing an enemy wouldn't totally remove them. --- .../shatteredpixeldungeon/items/wands/CursedWand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java index 8e4eb789a..59162d0cf 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java @@ -289,8 +289,8 @@ public class CursedWand { Sheep sheep = new Sheep(); sheep.lifespan = 10; sheep.pos = ch.pos; + ch.destroy(); ch.sprite.killAndErase(); - Actor.remove(ch); Dungeon.level.mobs.remove(ch); HealthIndicator.instance.target(null); GameScene.add(sheep);