#44345: Load counter from ruleset Open Date: 2022-04-13 06:06 Last Update: 2022-07-06 02:49 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44345 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44345 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-07-06 02:49 Updated by: cazfi Comment: Reply To lachu Reply To cazfi Looks good. Just two minor style issues - Prefer i++ instead of ++i when either works. That needs fixing in a couple of "for (... ; ... ; ++xxx)" There seems to be change to the wrong direction in attach_city_counter()! load_ruleset_game() has one instance of '++curr' that is not fixed. Spit the documentation update -> #45028 --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Originally: #41121 Replace internal City Owned counter definition by loading zero or one counter definitions from the ruleset. There's no need to send the info to client yet. -- 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/44345 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44345