Summary: Migrate "saveturns=0" to appropriate "autosaves"
setting in old savegames
Submitted by: jtn
Submitted on: Mon Jul 16 00:40:33 2012
Severity: 2 - Minor
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Discussion Lock: Any
Operating System: Any
Planned Release: 2.4.0,2.5.0
In patch #2536 (whose debut is in 2.4), the old "saveturns=0" behaviour of not
autosaving on a turn is replaced by not setting the "TURN" bit in the new
However, loading old savegames, there's nothing currently to clip the
now-illegal "saveturns" value (the new minimum is 1).
As it happens, I think the server still honours saveturns=0 if it can get past
checks (as it does with savegames), but it would be better not to have an
illegal value kicking around inside the server.
(The other place where "saveturns=0" can persist is in the server settings
saved in .freeciv-client-rc-X.X. There's not much that can reasonably be done
about that, but it is at least a one-time hit for the user, unlike old
savegames where the issue can keep popping up.)
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list