Tick sprite in char sprite viz.

This commit is contained in:
Michael Bayne
2017-08-19 07:54:55 -07:00
parent 2197292581
commit 084da3c549
@@ -105,6 +105,9 @@ public class CharSpriteViz extends JPanel
_sprite.setLocation(cx, cy);
_sprite.setOrientation(_orient);
// we have to manually tick the sprite because it lazily
// recomputes its action frames when ticked
_sprite.tick(0L);
_sprite.paint((Graphics2D)g);
}