From d2eb8bca073b87c547dbb498fc188ff0b145f7dc Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Thu, 17 Oct 2019 02:02:25 -0700 Subject: [PATCH] Fixed variable name --- core/src/com/riiablo/engine/system/AnimationLoaderSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }