Internal refactoring & cleanup

This commit is contained in:
Anuken
2020-09-22 15:50:33 -04:00
parent 0256a475cf
commit f3e08f9cb6
32 changed files with 168 additions and 135 deletions
+1 -1
View File
@@ -804,7 +804,7 @@ public class MobileInput extends InputHandler implements GestureListener{
if(type == null) return;
boolean flying = type.flying;
boolean omni = !(unit instanceof WaterMovec);
boolean omni = unit.type().omniMovement;
boolean legs = unit.isGrounded();
boolean allowHealing = type.canHeal;
boolean validHealTarget = allowHealing && target instanceof Building && ((Building)target).isValid() && target.team() == unit.team &&