Fixed an "unknown attribute discarded" error with healed_sound
This commit is contained in:
parent
8a0f67757b
commit
3bd15a7f08
1 changed files with 2 additions and 2 deletions
|
@ -1061,8 +1061,8 @@ const config & unit_type::build_unit_cfg() const
|
|||
// Remove "pure" unit_type attributes (attributes that do not get directly
|
||||
// copied to units; some do get copied, but under different keys).
|
||||
static char const *unit_type_attrs[] = { "attacks", "die_sound",
|
||||
"experience", "flies", "hide_help", "hitpoints", "id",
|
||||
"ignore_race_traits", "inherit", "movement", "movement_type",
|
||||
"healed_sound", "experience", "flies", "hide_help", "hitpoints",
|
||||
"id", "ignore_race_traits", "inherit", "movement", "movement_type",
|
||||
"name", "num_traits", "variation_id", "variation_name" };
|
||||
BOOST_FOREACH(const char *attr, unit_type_attrs) {
|
||||
unit_cfg_.remove_attribute(attr);
|
||||
|
|
Loading…
Add table
Reference in a new issue