mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-19 16:57:20 +07:00
Fixed bug with component flags
Fixed default components assignment, now 0 from -1 Changed to entity package
This commit is contained in:
parent
40e6dda32a
commit
22ebede88f
@ -2,7 +2,7 @@ package gdx.diablo.item;
|
|||||||
|
|
||||||
import com.badlogic.gdx.Gdx;
|
import com.badlogic.gdx.Gdx;
|
||||||
|
|
||||||
import static gdx.diablo.entity3.Entity.Dirty.*;
|
import static gdx.diablo.entity.Entity.Dirty.*;
|
||||||
|
|
||||||
public enum BodyLoc {
|
public enum BodyLoc {
|
||||||
NONE,
|
NONE,
|
||||||
@ -43,7 +43,7 @@ public enum BodyLoc {
|
|||||||
final int components;
|
final int components;
|
||||||
|
|
||||||
BodyLoc() {
|
BodyLoc() {
|
||||||
this.components = -1;
|
this.components = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
BodyLoc(int components) {
|
BodyLoc(int components) {
|
||||||
|
Loading…
Reference in New Issue
Block a user