v0.6.2: fixed a rare bug caused by previous charsprite changes
This commit is contained in:
parent
3ca4d7737a
commit
340d14dc2f
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user