URL: <http://gna.org/bugs/?24470>
Summary: Server settings in client rc file not migrated between versions Project: Freeciv Submitted by: jtn Submitted on: Sat 27 Feb 2016 05:25:21 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: We've got machinery in savecompat.c to migrate server settings in old savegames to equivalent values for the current server. There's no such machinery for old server settings in old client rc files, so they are ignored or lost. (Except for settable_option_upgrade_value() and allow_digital_boolean, which do some 2.2->2.3 stuff.) So for instance a .freeciv-client-rc-2.4 which has killcitizen="SEA" will not result in a .freeciv-client-rc-2.5 with killcitizen=FALSE, as it would in a savegame. Maybe we should pool the migration logic in common/ somewhere. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24470> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev