[Freeciv-tickets] [freeciv] #44594: TECH_UPKEEP_DEBUGGING messing research->techs_researched when future techs involved

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sun Jun 26 19:44:38 JST 2022


#44594: TECH_UPKEEP_DEBUGGING messing research->techs_researched when future techs involved

  Open Date: 2022-05-14 16:13
Last Update: 2022-06-26 13:44

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

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

Last Changes/Comment on this Ticket:
2022-06-26 13:44 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.1.0
     Component: Server
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

init_tech() recalculates research->techs_researched when TECH_UPKEEP_DEBUGGING is defined. That recalculation does not consider future techs.
This is one candidate for the cause of various assert failures I'm getting in testing #44419. When number of lost (i.e. ones subtracted from the counter) future techs is same as number of real techs, the counter goes to zero despite player knowing a lot of techs.

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



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index