Fixed selection hexes for legged units not being visible

This commit is contained in:
Anuken
2025-12-07 23:09:51 -05:00
parent 1a9b9669d7
commit 128851a127

View File

@@ -1211,7 +1211,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
var cmd = ai.currentCommand();
lastPos = ai.attackTarget != null ? ai.attackTarget : ai.targetPos;
if(unit.isFlying() != flying) continue;
if((unit.isFlying() || unit.type.allowLegStep) != flying) continue;
//draw target line
if(ai.targetPos != null && cmd.drawTarget){