use standard image (with duration 500) to default healing animation
need to adapt obsolete keys in paladin and maybe 1 or 2 mermaid I will also remove the remaining dead code about these keys
This commit is contained in:
parent
7d09b734d3
commit
8d9690e43c
2 changed files with 2 additions and 3 deletions
|
@ -1280,8 +1280,7 @@ void unit::read(const config& cfg)
|
|||
healing_animations_.push_back(healing_animation(**healing_anim));
|
||||
}
|
||||
if(healing_animations_.empty()) {
|
||||
healing_animations_.push_back(healing_animation(0,unit_frame(image_healing(),150,
|
||||
"1.0","",0,"",image_halo_healing(),0,0)));
|
||||
healing_animations_.push_back(healing_animation(0,unit_frame(absolute_image(),500)));
|
||||
// always have a healing animation
|
||||
}
|
||||
|
||||
|
|
|
@ -676,7 +676,7 @@ unit_type::unit_type(const config& cfg, const movement_type_map& mv_types,
|
|||
healing_animations_.push_back(healing_animation(**healing_anim));
|
||||
}
|
||||
if(healing_animations_.empty()) {
|
||||
healing_animations_.push_back(healing_animation(0,unit_frame(image::locator(cfg["image_healing"]),1,"1.0","",0,"",cfg["image_halo_healing"])));
|
||||
healing_animations_.push_back(healing_animation(0,unit_frame(image(),500)));
|
||||
// always have a healing animation
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue