SWY1985 / CivOne

An open source implementation of Sid Meier's Civilization.
http://www.civone.org/
Creative Commons Zero v1.0 Universal
244 stars 49 forks source link

Some saves can't be loaded, as clicking on them and pressing Enter while highlighted does nothing #370

Closed AlexFolland closed 7 years ago

AlexFolland commented 7 years ago

These autosaves, except the 3000 BC save, can't be loaded. Highlighting them and pressing enter or clicking on them does nothing.

http://lex.clansfx.co.uk/requested/CivOnesomeunloadablesaves.zip

SWY1985 commented 7 years ago

This is part of #153 and #248. Load/Save games are currently not working correctly, but this will be resolved soon.

AlexFolland commented 7 years ago

I thought this was a separate issue because it seemed to be a UI issue, unrelated to whether the engine can load save data passed to it.

SWY1985 commented 7 years ago

The invalid saves are caused by destroyed cities crashing the save game process. This has been fixed in the next commit.

SWY1985 commented 7 years ago

The original game attempts to load these games anyway, but I don't think that's a good idea. At a later time, I may add an error message when trying to load an invalid save game.