diff --git a/mpqviewer/src/gdx/diablo/mpq/MPQViewer.java b/mpqviewer/src/gdx/diablo/mpq/MPQViewer.java index 29eae4e9..d3f0cc9f 100644 --- a/mpqviewer/src/gdx/diablo/mpq/MPQViewer.java +++ b/mpqviewer/src/gdx/diablo/mpq/MPQViewer.java @@ -1095,7 +1095,8 @@ public class MPQViewer { String palette = paletteList.getSelected(); Diablo.batch.setPalette(palettes.get(palette)); - Animation anim = Animation.newAnimation(dc, (int) slDirection.getValue()); + Animation anim = Animation.newAnimation(dc); + anim.setDirection((int) slDirection.getValue()); anim.setFrameDuration(1 / slFrameDuration.getValue()); setDelegate(anim); }