Fixes bug #14058 ("The file you tried to load is corrupt"),

...bug #13764 ("The file you have tried to load is corrupt" dialog
that's impossible to close) and bug #14438 (can not cancel loading of
older version savegame).
This commit is contained in:
Jörg Hinrichs 2009-10-24 23:35:17 +00:00
parent 968dd53224
commit 6dde7cb986
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,8 @@ Version 1.7.7+svn:
* Instead of "crashing" upon invalid markup try to show the raw text
* Found a better fix for truncating the campaign description (bug #14328)
* Fix storyscreen buttons occasionally disappearing (bug #13779)
* Fix not being able to cancel the different version message (bug #14438)
* Fix not being able to close corrupted file dialog (bug #13764, #14058)
Version 1.7.7:
* AI:

View File

@ -992,6 +992,7 @@ bool game_controller::load_game()
load.set_gamestate();
} catch(load_game_cancelled_exception&) {
loaded_game_ = "";
return false;
} catch(config::error& e) {
if(e.message.empty()) {
@ -2096,6 +2097,7 @@ static int do_gameloop(int argc, char** argv)
return 0;
} else if(res == gui::LOAD_GAME) {
if(game.load_game() == false) {
res = gui::NOTHING;
continue;
}