Follow-up Comment #3, bug #20361 (project freeciv):

to bring more light into it - pathfinder does not check whether targeted
square is occupied, it only checks best way to that square
from my long observation, best metod to avoid failed gotot+attack is use it to
go best position near unit and attack using arrow keys

as for code, there are few solution that i can think, but none of them is good
enogh to solve problem
i think easiest (and best) would be if pathfinder checked if tile is occupied
and if yes then goto adjacent to unit (using best route), attack and dont move


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to