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

2008/10/10 Madeline Book:
>
> I'm guessing that game.control.num_base_types should be used
> instead, but even so this sounds suspicious since base_order
> is allocated with size nmod + (4 - (nmod % 4)) where nmod is
> loaded from the savegame (maybe nmod should be replaced by
> game.control.num_base_types in the calloc call?).

 Note that ruleset, and thus game.control.num_bases, may has changed
between saving and loading. Freeciv savegames are supposed to be
backward compatible over a couple of versions.


 - ML



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

Reply via email to