This commit is contained in:
Dominic Bolin 2006-07-06 21:19:36 +00:00
parent 72eda2322f
commit fe1c3a29b4

View file

@ -1107,6 +1107,9 @@ void unit::read(const config& cfg)
if(custom_unit_desc != "") {
cfg_["unit_description"] = custom_unit_desc;
}
cfg_["profile"] = cfg["profile"];
if(!type_set) {
for(config::const_child_itors range = cfg.child_range("attack");
range.first != range.second; ++range.first) {