Deployment fixes

This commit is contained in:
Anuken
2020-09-15 19:28:38 -04:00
parent 234649bd68
commit a5ce57e56d
11 changed files with 36 additions and 27 deletions

View File

@@ -61,7 +61,8 @@ abstract class HitboxComp implements Posc, QuadTreeObject{
}
public void hitboxTile(Rect rect){
float size = hitSize * 0.66f;
//tile hitboxes are never bigger than a tile, otherwise units get stuck
float size = Math.min(hitSize * 0.66f, 7.9f);
rect.setCentered(x, y, size, size);
}
}