Follow-up Comment #1, patch #3820 (project freeciv):

road move_cost * 2 is the same regardless of the tiles involved, so you could
check against it already outside iteration of between tiles, and avoid the
somewhat costly iteration completely.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3820>

_______________________________________________
  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