[Freeciv-tickets] [freeciv] #48197: AI: dai_choose_attacker_air() hardcoding military emergency as 100.

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Jun 26 20:21:24 JST 2023


#48197: AI: dai_choose_attacker_air() hardcoding military emergency as 100.

  Open Date: 2023-06-09 03:51
Last Update: 2023-06-26 14:21

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48197
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48197

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-06-26 14:21 Updated by: cazfi

Comment:

This is not just a cosmetic bug in 3.1 or later, but causes autogames to differ in practice.

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.9
     Component: AI
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

I think dai_choose_attacker_air() code:
if (choice->want >= 100 && ...
means to check against military emergency. Which is no longer 100, but 1000+

-- 
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/48197
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48197



More information about the Freeciv-tickets mailing list
Back to archive index