From 340d14dc2f9d66c5235c788cea7d04aba88bc386 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 18 Sep 2017 17:31:04 -0400 Subject: [PATCH] v0.6.2: fixed a rare bug caused by previous charsprite changes --- .../shatteredpixeldungeon/sprites/CharSprite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java index dbca076a3..731eb4526 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java @@ -126,7 +126,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip @Override public void play(Animation anim) { //Shouldn't interrupt the dieing animation - if (curAnim != die) { + if (curAnim == null || curAnim != die) { super.play(anim); } }