From 51f75f940fe0a0cfdf7b15f0a3d3cfab3654720b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 22 Jul 2016 20:14:52 -0400 Subject: [PATCH] v0.4.1: fixed emo icons being incorrectly visible for one frame --- .../shatteredpixeldungeon/sprites/CharSprite.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java index ee06c9faf..23a85ea2f 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java @@ -397,6 +397,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip emo.killAndErase(); } emo = new EmoIcon.Sleep( this ); + emo.visible = visible; } idle(); } @@ -416,6 +417,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip emo.killAndErase(); } emo = new EmoIcon.Alert( this ); + emo.visible = visible; } }