bugBattle for Wesnoth - Bugs: bug #20601, Animation glitch: Death animations...

Show feedback again

bug #20601: Animation glitch: Death animations reset to an earlier frame before finishing

Submitted by:  Ignacio R. Morelle <shadowmaster>
Submitted on:  Fri Mar 8 07:11:37 2013  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group:  None of the others
Status: FixedPrivacy: Public
Assigned to: Jérémy Rosen <boucman>Open/Closed: Closed
Release: 1.11.1+svn r56459Operating System: All of them?

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Mar 10 08:52:43 2013, SVN revision 56469:

apply patch #3774 by coffee fix bug #20601

(Browse SVN revision 56469)

Jérémy Rosen <boucman>
Project MemberIn charge of this item.
Sat Mar 9 02:33:10 2013, comment #2:

You can try the following patch to see if it works for you:

Clears this bug up for me.

David Mikos <coffee>
Project Member
Sat Mar 9 01:16:35 2013, comment #1:


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.

David Mikos <coffee>
Project Member
Fri Mar 8 07:11:37 2013, original submission:

Units with non-default death animations (such as the Saurian Skirmisher and Walking Corpse) are affected by a glitch in which the game goes back to a previous frame of their death animations instead of fading out the last frame.

This bug does not affect 1.11.1.

Steps to reproduce:

- Create a Saurian Skirmisher using debug mode. Switch sides and set its hitpoints (:unit hitpoints=1) as appropriate before killing it.
- Pay close attention to its death animation. Compare against 1.11.1 or 1.10.x.

Ignacio R. Morelle <shadowmaster>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by boucman (Updated the item)
  • -unavailable- added by coffee (Posted a comment)
  • -unavailable- added by shadowmaster (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Mar 10 08:58:36 2013boucmanOpen/ClosedOpen=>Closed
    Sun Mar 10 08:53:12 2013boucmanStatusNone=>Fixed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup