diff --git a/core/src/com/riiablo/engine/system/AnimationLoaderSystem.java b/core/src/com/riiablo/engine/system/AnimationLoaderSystem.java index 1be9be73..2363b44a 100644 --- a/core/src/com/riiablo/engine/system/AnimationLoaderSystem.java +++ b/core/src/com/riiablo/engine/system/AnimationLoaderSystem.java @@ -44,7 +44,7 @@ public class AnimationLoaderSystem extends IteratingSystem { for (int l = 0, numLayers = cof.getNumLayers(); l < numLayers; l++) { COF.Layer layer = cof.getLayer(l); if (!Dirty.isDirty(cofComponent.load, layer.component)) continue; - if (cofComponent.comp[layer.component] == 0) { + if (cofComponent.component[layer.component] == 0) { anim.setLayer(layer, null, false); continue; }