Enhancement of my verbosity.

Now it displays unit's description (the internal one) and player's
save_id, instead of the unit's user_description and an ambiguous text
reference to 'side'.
This commit is contained in:
Ignacio R. Morelle 2007-11-14 15:59:18 +00:00
parent 29d687f343
commit df571fcdf9

View file

@ -524,7 +524,7 @@ static void write_player(const player_info& player, config& cfg)
config new_cfg;
i->write(new_cfg);
cfg.add_child("unit",new_cfg);
DBG_NG << "added unit " << new_cfg["user_description"] << " to side\n";
DBG_NG << "added unit '" << new_cfg["description"] << "' to player '" << player.name << "'\n";
}
std::stringstream can_recruit;