small detail I forgot in last commit

This commit is contained in:
Jérémy Rosen 2009-08-01 16:40:07 +00:00
parent 1fb6af7ff0
commit ae2beedff6

View file

@ -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"]),
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");
vconfig::child_list::const_iterator anim_itor;