[Freeciv-Dev] Re: Playing continuously vs saving+loading (PR#436)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Marko Lindqvist <caz@xxxxxxxxxxxxxxxx> wrote:
> Game state is not completely same after loading savegame than what it was
> before saving. I think some checks normally made only at start of turn is
> also made when savegame is started (even if it's almost end of turn).
Do you have any AI players in the game? Including barbarians, I guess.
If so, this is a known problem which has existed forever :-(
I think one part of solution would be to change when autosaves
are made, so they occur just before (or after) "interactive mode",
and then at least the things which should (or shouldn't) be done
for reloading to be consistent will be the same for manual saves
and autosaves. Still have to be careful about when necessary AI
and other initialisations are done, and not calling rand() extra
times, etc.
-- David
|
|