mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 16:11:40 +00:00
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
@ -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…
x
Reference in New Issue
Block a user