[Freeciv-Dev] [bug #13928] Don't navigate through unaccessible territorial waters
Update of bug #13928 (project freeciv): Category:None = general Assigned to:None = pepeto Planned Release:None = 2.1.10 ___ Reply to this item at: http://gna.org/bugs/?13928 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #13928] Don't navigate through unaccessible territorial waters
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.diffSize: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
[Freeciv-Dev] [bug #13928] Don't navigate through unaccessible territorial waters
URL: http://gna.org/bugs/?13928 Summary: Don't navigate through unaccessible territorial waters Project: Freeciv Submitted by: jasad Submitted on: Friday 07/10/2009 at 12:54 Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: Operating System: None ___ Details: When giving Go To order to ship, it choses shortest route without taking presence of territorial waters of nations in armistice/peace into account. The ship then tries to enter these tiles and gets error that i can't move there. The path finder should be changed to avoid these tiles (probably treat them as land). ___ 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