Follow-up Comment #2, bug #12967 (project wesnoth):

After looking at the sources, I am sure that the bug was introduced in
commits:
32688, changes to unit.cpp (activating bar drawing for fake units)
32691 (removing related parameters/variables)

Revision 32688 removed the check of the "fake" parameter in
unit::redraw_unit() used to avoid setting draw_bars_ to true. Now, draw_bars_
would be set to true for fake units and unit_can_move() was called on them.
This method is not safe for fake units, fails an assert and stops execution.

Revision 32691 removed the "fake" parameter altogether (method, header,
calls).

Manually reverting the commits fixes the bug.

Commit 32691 needs to be fully reverted, from 32688, only the changes to
unit.cpp need to be reverted.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to