Fixed some hitbox issues, preparing to remake floor rendering

This commit is contained in:
Anuken
2018-05-01 23:45:32 -04:00
parent 3dd07d2f4a
commit c3967c79c9
6 changed files with 23 additions and 44 deletions
@@ -132,7 +132,7 @@ public class BaseUnit extends Unit{
public void added(){
maxhealth = type.health;
hitbox.solid = true;
hitbox.solid = !isFlying();
hitbox.setSize(type.hitsize);
hitboxTile.setSize(type.hitsizeTile);
state.set(this, type.getStartState());