Fix portraits not showing up. ;)

This commit is contained in:
Dominic Bolin 2006-07-13 21:26:09 +00:00
parent 04055929ed
commit ef66ef0b11

View file

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