Follow-up Comment #8, patch #3383 (project freeciv): Using adv_danger_at() won't work unless pf_parameter->can_invade_tile is extended to pass the unit struct as argument. A quick look into path_finding.c left me with the impression that this won't work because the calling functions also don't have the unit at hand.
Feel free to correct me - I am a novice when it comes to the freeciv code base. _______________________________________________________ Reply to this item at: <http://gna.org/patch/?3383> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev