do not spam warnings about unknown attribute...
[unit_type]do_not_list= which is never used by the engine (bug #17077)
This commit is contained in:
parent
1838992e5d
commit
97c833bcdf
1 changed files with 1 additions and 0 deletions
|
@ -514,6 +514,7 @@ unit::unit(const config &cfg, bool use_traits, game_state* state) :
|
|||
}
|
||||
|
||||
foreach (const config::attribute &attr, input_cfg.attribute_range()) {
|
||||
if (attr.first == "do_not_list") continue;
|
||||
WRN_UT << "Unknown attribute '" << attr.first << "' discarded.\n";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue