Fix a small logic reversal in last commit...

This commit is contained in:
Ignacio R. Morelle 2009-03-18 16:02:24 +00:00
parent 4a560309ed
commit 7660d618b1

View file

@ -519,7 +519,7 @@ void create::process_event()
int nsides = parameters_.scenario_data.get_children("side").size();
const config::child_list& player_sides = parameters_.scenario_data.get_children("side");
for(config::child_list::const_iterator k = player_sides.begin(); k != player_sides.end(); ++k) {
if(utils::string_bool((**k)["allow_player"],true)) {
if(!utils::string_bool((**k)["allow_player"],true)) {
nsides--;
}
}