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
further

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20361>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to