Fixed bug with component flags

Fixed default components assignment, now 0 from -1
Changed to entity package
This commit is contained in:
Collin Smith 2019-02-09 16:03:01 -08:00
parent 40e6dda32a
commit 22ebede88f

View File

@ -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) {