mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 18:26:03 +00:00
small detail I forgot in last commit
This commit is contained in:
parent
1fb6af7ff0
commit
ae2beedff6
@ -485,7 +485,7 @@ void wml_animation_internal(unit_animator &animator, const vconfig &cfg, const m
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
animator.add_animation(&u->second,cfg["flag"],u->first,secondary_loc,lexical_cast_default<int>(cfg["value"]),utils::string_bool(cfg["with_bars"]),
|
animator.add_animation(&u->second,cfg["flag"],u->first,secondary_loc,lexical_cast_default<int>(cfg["value"]),utils::string_bool(cfg["with_bars"]),
|
||||||
false,cfg["text"],text_color, hits,primary,secondary,0);
|
false,cfg["text"],text_color, hits,primary,secondary,lexical_cast_default<int>(cfg["value_second"]));
|
||||||
}
|
}
|
||||||
const vconfig::child_list sub_anims = cfg.get_children("animate");
|
const vconfig::child_list sub_anims = cfg.get_children("animate");
|
||||||
vconfig::child_list::const_iterator anim_itor;
|
vconfig::child_list::const_iterator anim_itor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user