Follow-up Comment #3, bug #25657 (project wesnoth):

The very first animation in the sequence fires now, and I think the bug is
fixed.

It still throws the same error on the next one on line 875, but I think this
is due to faulty wml here, (the animated unit & facing have the same x,y)
which was exposed by the animate lua conversion making the animate add more
strict. (the code worked in 1.12) I'm not sure if this is something that
should be fixed.

20170417 16:25:27 error scripting/lua: lua/wml/animate_unit.lua:95: bad
argument #-2 to 'add' (target must be adjacent to the animated unit)
stack traceback:
        [C]: in method 'add'
        lua/wml/animate_unit.lua:95: in upvalue 'add_animation'
        lua/wml/animate_unit.lua:113: in local 'cmd'
        lua/wml-utils.lua:145: in field 'handle_event_commands'
        lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>


This one looks to be triggered by 

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to