fixed CVS internal bug with animation frames

This commit is contained in:
Dave White 2004-08-08 23:42:31 +00:00
parent 3689c2ca13
commit b64a55e791

View file

@ -135,7 +135,7 @@ attack_type::attack_type(const config& cfg)
{
const config::child_list& animations = cfg.get_children("animation");
for(config::child_list::const_iterator an = animations.begin(); an != animations.end(); ++an) {
animation_.push_back(unit_animation(cfg));
animation_.push_back(unit_animation(**an));
}
if(animation_.empty()) {