URL:
<http://gna.org/bugs/?19836>
Summary: Specials vector size saved as specials_size, but
loaded as special_size
Project: Freeciv
Submitted by: jtn
Submitted on: Sat Jun 23 13:00:37 2012
Category: None
Severity: 2 - Minor
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 2.3.2,S2_4,trunk
Discussion Lock: Any
Operating System: Any
Planned Release:
_______________________________________________________
Details:
In savegame2.c, the size of the specials vector is saved as
"savefile.specials_size", but loaded as "savefile.special_size".
Noticed as this leads to a warning in the verbose log on load: "unused entry:
savefile.specials_size"
(I'm not quite sure of the purpose of these _size entries, given that on
loading they are immediately overwritten by the count returned by
secfile_lookup_str_vec() anyway. So they seem redundant. Haven't thoroughly
checked yet, though. The fact that we've been loading the specials size as 0
since 2.3.0 and the world hasn't ended yet corroborates this.)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19836>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev