#47434: AI: base_assess_defense_unit() considers ONLY civilians as defenders Open Date: 2023-02-19 03:16 Last Update: 2023-02-19 03:16 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/47434 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47434 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-02-19 03:16 Updated by: cazfi * New Ticket "AI: base_assess_defense_unit() considers ONLY civilians as defenders" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: AI Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: In what likely broke in recent is_military_unit() split, check in base_assess_defense_unit() is reversed. It exits early if unit is NOT special one (i.e. civilian). -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/47434 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47434