v0.5.0b: fixed status text overlapping above characters

This commit is contained in:
Evan Debenham
2017-02-13 22:57:20 -05:00
parent 934c8680c6
commit bea1623495
@@ -150,9 +150,13 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
if (args.length > 0) { if (args.length > 0) {
text = Messages.format( text, args ); text = Messages.format( text, args );
} }
if (ch != null) {
FloatingText.show( x + width * 0.5f, y, ch.pos, text, color );
} else {
FloatingText.show( x + width * 0.5f, y, text, color ); FloatingText.show( x + width * 0.5f, y, text, color );
} }
} }
}
public void idle() { public void idle() {
play( idle ); play( idle );