#47434: AI: base_assess_defense_unit() considers ONLY civilians as defenders Open Date: 2023-02-19 03:16 Last Update: 2023-02-21 08:29 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-21 08:29 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.2.0 Component: AI Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- 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