Unit AI fixes / Other general fixes

This commit is contained in:
Anuken
2019-03-28 17:12:49 -04:00
parent e6a24b8ba1
commit 4e5d87104c
7 changed files with 22 additions and 6 deletions

View File

@@ -229,7 +229,9 @@ public class MobileInput extends InputHandler implements GestureListener{
}
Draw.color();
}else{
float rad = (tile.block().size * tilesize / 2f - 1) * request.scale;
float rad = Math.max((tile.block().size * tilesize / 2f - 1) * request.scale, 1f);
if(rad <= 1.01f) return;
Draw.mixcol();
//draw removing request
Draw.tint(Pal.removeBack);