Bugfixes (2)
This commit is contained in:
@@ -43,7 +43,7 @@ public class PhysicsProcess implements AsyncProcess{
|
|||||||
//find entities without bodies and assign them
|
//find entities without bodies and assign them
|
||||||
for(Physicsc entity : group){
|
for(Physicsc entity : group){
|
||||||
boolean grounded = entity.isGrounded();
|
boolean grounded = entity.isGrounded();
|
||||||
int bits = grounded ? flying.maskBits : ground.maskBits;
|
int bits = grounded ? ground.maskBits : flying.maskBits;
|
||||||
|
|
||||||
if(entity.physref() == null){
|
if(entity.physref() == null){
|
||||||
//add bodies to entities that have none
|
//add bodies to entities that have none
|
||||||
|
|||||||
Reference in New Issue
Block a user