forgot a small change
This commit is contained in:
parent
be7769eda1
commit
56e174e5b2
1 changed files with 9 additions and 0 deletions
|
@ -35,6 +35,7 @@ struct tag_name_manager {
|
|||
names.push_back("movement_anim");
|
||||
names.push_back("poison_anim");
|
||||
names.push_back("recruit_anim");
|
||||
names.push_back("recruiting_anim");
|
||||
names.push_back("standing_anim");
|
||||
names.push_back("teleport_anim");
|
||||
names.push_back("victory_anim");
|
||||
|
@ -456,6 +457,14 @@ void unit_animation::add_anims( std::vector<unit_animation> & animations, const
|
|||
animations.push_back(unit_animation(anim));
|
||||
}
|
||||
|
||||
expanded_cfg = unit_animation::prepare_animation(cfg,"recruiting_anim");
|
||||
foreach (config &anim, expanded_cfg.child_range("recruiting_anim"))
|
||||
{
|
||||
anim["apply_to"] = "recruiting";
|
||||
if (anim["layer"].empty()) anim["layer"] = default_layer;
|
||||
animations.push_back(unit_animation(anim));
|
||||
}
|
||||
|
||||
expanded_cfg = unit_animation::prepare_animation(cfg,"standing_anim");
|
||||
foreach (config &anim, expanded_cfg.child_range("standing_anim"))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue