Deployment fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user