#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-17 15:24 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-17 15:24 Updated by: cazfi * Owner Update from cazfi to (None) --------------------------------------------------------------------- Ticket Status: Reporter: lachu Owner: (None) Type: Patches Status: Open 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