Follow-up Comment #3, patch #4643 (project freeciv): Thanks for the hints. Indeed, pf_map_position() seems better. I used pos.total_MC, rather than pf_map_move_cost(), because that matches the examples I could find in the code, but I'm happy to switch that if it could be done better. Are there other ways this patch could be improved?
(file #20479) _______________________________________________________ Additional Item Attachment: File name: check-goto-sanity-with-pathfinding+postion.patch Size:8 KB _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4643> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freecivemail@example.com https://mail.gna.org/listinfo/freeciv-dev