new_game -> allow_new_game (SVN trunk only)

This commit is contained in:
Benoît Timbert 2006-07-20 17:46:25 +00:00
parent 534817e62f
commit 3127f28440
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ Version 1.3-svn:
* disable inactive sliders instead of hiding them
* sliders can be adjusted with keyboard left and right
* WML engine
* new_game key (default=yes) to prevent [multiplayer] scenarios to
* allow_new_game key (default=yes) to prevent [multiplayer] scenarios to
show up in the multiplayer game creation interface (FR #6397)
Version 1.1.7:

View file

@ -91,7 +91,7 @@ create::create(display& disp, const config &cfg, chat& c, config& gamelist) :
//standard maps
const config::child_list& levels = cfg.get_children("multiplayer");
for(config::child_list::const_iterator j = levels.begin(); j != levels.end(); ++j){
if (utils::string_bool((**j)["new_game"],true))
if (utils::string_bool((**j)["allow_new_game"],true))
map_options_.push_back((**j)["name"]);
}