#46172: Move counter initialization routine outside ruleset initialization code, so ruledit could use it Open Date: 2022-12-03 18:08 Last Update: 2022-12-09 07:45 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46172 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46172 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-09 07:45 Updated by: cazfi Comment: Patch seem to include unrelated changes (parts of #45891?), and build on top of the previous one instead of replacing it. --------------------------------------------------------------------- Ticket Status: Reporter: lachu Owner: cazfi Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: (None) Component: Ruledit and ruleup Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Currently, counter initialization code is placed inside ruleset loading code. This makes sense in past, because there was no other parts, which would use it. Currently, ruledit need to reinitialize and initialize counters, what means ruledit_enable is set to default value, name struct was free/reinitialized, etc. -- 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/46172 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46172