add log for modify_placing

This commit is contained in:
gfgtdf 2015-06-12 00:11:05 +02:00
parent e3010b734e
commit 2a0a07d141

View file

@ -362,6 +362,10 @@ void play_controller::place_sides_in_preferred_locations()
int num_pos = map_.num_valid_starting_positions();
for(int p = 1; p <= num_pos; ++p) {
const map_location& pos = map_.starting_position(p);
LOG_NG << "starting pos for side " << p << " was at " << pos << "\n";
}
int side_num = 1;
BOOST_FOREACH(const config &side, level_.child_range("side"))
{
@ -389,6 +393,10 @@ void play_controller::place_sides_in_preferred_locations()
LOG_NG << "placing side " << i->side << " at " << i->pos << '\n';
}
}
for(int p = 1; p <= num_pos; ++p) {
const map_location& pos = map_.starting_position(p);
LOG_NG << "starting pos for side " << p << " is now at " << pos << "\n";
}
}
void play_controller::objectives(){