v0.3.1: fixed a bug where polymorphing an enemy wouldn't totally remove them.

This commit is contained in:
Evan Debenham
2015-07-06 23:01:02 -04:00
committed by Evan Debenham
parent 83dcbb19ec
commit 737563f256
@@ -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);