From 22ebede88f243fd7580fdcd071d5e84e9a4a9114 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Sat, 9 Feb 2019 16:03:01 -0800 Subject: [PATCH] Fixed bug with component flags Fixed default components assignment, now 0 from -1 Changed to entity package --- core/src/gdx/diablo/item/BodyLoc.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/gdx/diablo/item/BodyLoc.java b/core/src/gdx/diablo/item/BodyLoc.java index f52a9f64..e8329296 100644 --- a/core/src/gdx/diablo/item/BodyLoc.java +++ b/core/src/gdx/diablo/item/BodyLoc.java @@ -2,7 +2,7 @@ package gdx.diablo.item; import com.badlogic.gdx.Gdx; -import static gdx.diablo.entity3.Entity.Dirty.*; +import static gdx.diablo.entity.Entity.Dirty.*; public enum BodyLoc { NONE, @@ -43,7 +43,7 @@ public enum BodyLoc { final int components; BodyLoc() { - this.components = -1; + this.components = 0; } BodyLoc(int components) {