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:
Message sent via/by Gna!
Freeciv-dev mailing list