[Freeciv-tickets] [freeciv] #48146: actres_initial_odds()

Back to archive index
OSDN Ticket System norep****@osdn*****
Fri Jun 9 11:51:16 JST 2023


#48146: actres_initial_odds()

  Open Date: 2023-06-02 16:49
Last Update: 2023-06-09 05:51

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

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

Last Changes/Comment on this Ticket:
2023-06-09 05:51 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted

Comment:

The function got the name "actres_dice_type()", but the principle remains.

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

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Replace action_dice_roll_initial_odds() that has a large switch...case -construct with actres_initial_odds() that will just do an array lookup from act_results.

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



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