[Freeciv-tickets] [freeciv] #42992: Inconsistent code about "Local" range "Good" reqs

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Fri Nov 10 15:17:32 JST 2023


#42992: Inconsistent code about "Local" range "Good" reqs

  Open Date: 2021-10-07 11:30
Last Update: 2023-11-10 08:17

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

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

Last Changes/Comment on this Ticket:
2023-11-10 08:17 Updated by: cazfi
 * Milestone Update from 3.0.9 to 3.0.10


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

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

Ticket details:

When looking #42944
Additional inconsistency is that is_goods_type_in_range() would accept "Local" range, if the ruleset loading would ever let it through. As currently implemented, it's identical to "City" range, but I guess the idea might have been that it should check if the local tile has a city with the good imported, i.e., there would be slight semantic difference between "Local" and "City" causing evaluation to be against different city in some cases.
As the ruleset loading time checks guard against ever getting Good requirement with "Local" range, resolving this issue is not urgent, end especially a solution where the functionality gets extended can only occur in later branches that are not yet d3f.


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



More information about the Freeciv-tickets mailing list
アーカイブの一覧に戻る