Fix the C++ animnation-WML interpreter to expect [filter_second]...
...rather than [secondary_unit_filter]. This name change was supposed to be in 1.5.0, but was either incompletely carried through or somebody relapsed while making a later change. Goes with 2010-03-03T15:30:32Z!esr@thyrsus.com, where some instances of this [secondary_unit_filter] re-entered mainline by mistake.
This commit is contained in:
parent
69e9e197ac
commit
09cdae1500
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ unit_animation::unit_animation(const config& cfg,const std::string& frame_string
|
|||
unit_filter_.push_back(filter);
|
||||
}
|
||||
|
||||
foreach (const config &filter, cfg.child_range("secondary_unit_filter")) {
|
||||
foreach (const config &filter, cfg.child_range("filter_second")) {
|
||||
secondary_unit_filter_.push_back(filter);
|
||||
}
|
||||
frequency_ = atoi(cfg["frequency"].c_str());
|
||||
|
|
Loading…
Add table
Reference in a new issue