Follow-up Comment #1, bug #20601 (project wesnoth):

Hi

I am somewhat responsible for some of the very new changes to the WML syntax
(thread at http://forums.wesnoth.org/viewtopic.php?f=10&t=38198).

I've tested what you are saying and I believe it is because now the frames for
death animations are combined in syntax and it is getting the first frame in a
sequence for the "get_last_frame()" function for a "frame" with an image list
specified.

The offending code is linked to in unit_animation.cpp in the "death" animation
section of unit_animation::add_anims:

image::locator image_loc =
animations.back().get_last_frame().parameters(0).image;

We need to update the "get_last_frame()" function to take the last frame in a
list to fix this bug I believe.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20601>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to