[Freeciv-tickets] [freeciv] #45895: Pop units in build slots > 1 reduce the population of the city even when deletetd/postponed from not fulfilling build reqs

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Oct 17 21:06:20 JST 2022


#45895: Pop units in build slots > 1 reduce the population of the city even when deletetd/postponed from not fulfilling build reqs

  Open Date: 2022-10-17 21:06
Last Update: 2022-10-17 21:06

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

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

Last Changes/Comment on this Ticket:
2022-10-17 21:06 Updated by: Anonymous
 * New Ticket "Pop units in build slots > 1 reduce the population of the city even when deletetd/postponed from not fulfilling build reqs" created


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

      Reporter: (Anonymous)
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Blamed: city_build_unit()
Pop reduction actions need to be INSIDE the {{{ code c 
if (punit) {
...
}
}}}
Otherwise if punit == NULL because illegal to build, it will still reduce the population.

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



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