<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40444 >

2008/8/28 Madeline Book:
> Version 3 remains compatible with pre 2.2 savegames by
> checking for the presence of the old settings in the
> secfile.

 It's generally not a good idea to rely on version number for checking
savegame options. It should be possible to use values really present
in savegame in the lines of:

 old = look_bool_default(TRUE...)
 if (old)
    new_default = 1
 else
    new_default = 1
 final = look_int_default(new_default...)

 Failing that, you should use savegame options.

 In any case your check against 020200 means that current S2_2
development version 2.1.99 is not reading new values.


 - ML



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to