Assert that the game_config-provided version_info objects are good
This commit is contained in:
parent
a7b99d3d83
commit
62b17ea33f
1 changed files with 4 additions and 0 deletions
|
@ -290,6 +290,10 @@ namespace game_config
|
|||
sinf.address = server["address"].str();
|
||||
server_list.push_back(sinf);
|
||||
}
|
||||
|
||||
assert(wesnoth_version.good());
|
||||
assert(min_savegame_version.good());
|
||||
assert(test_version.good());
|
||||
}
|
||||
|
||||
void add_color_info(const config &v)
|
||||
|
|
Loading…
Add table
Reference in a new issue