#43426: Load counter information from a savegame Open Date: 2021-12-19 14:18 Last Update: 2022-02-06 16:48 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43426 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43426 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-02-06 16:48 Updated by: cazfi Comment: I applied "0001-Added-city-counter-load-routines.patch" + "0002-Properly-load-savegame-with-counter-info.patch". I think the code is correct now, just a couple of style issues to fix. - Last sg_failure_ret() -line has a trailing space - Remove empty line between sg_load_counters() function header and the function itself - "static void sg_load_counters (struct loaddata * loading)" -> "static void sg_load_counters(struct loaddata *loading)" (two spaces in wrong places removed) Can you also provide both of these as a single patch. --------------------------------------------------------------------- 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: #41117 adds saving city counters values. This ticket is about loading them from such a savegame. -- 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/43426 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43426