Follow-up Comment #1, bug #13928 (project freeciv): Those patches fix the problem.
A new callback is added in the pf_parameter (can_invade_tile) to determine if the player can access this tile. It is not set if the unit isn't military. In common/player.[ch] is defined the usual callback: player_can_invade_tile(). In common/movement.c, the function test_unit_move_to_tile() also points to the new function player_can_invade_tile() to unsure the rules are same in all sides. (file #6329, file #6330) _______________________________________________________ Additional Item Attachment: File name: S2_1_pf_non_invade.diff Size:5 KB File name: trunk_pf_non_invade.diff Size:5 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?13928> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev