Follow-up Comment #4, bug #15560 (project wesnoth):

Cause of the bug:

"[unstore_unit] advance=true" is not MP-safe when we work with units not
owned by current side.

so, for host 2 and TRANSFORM_UNIT, the sequence is : store unit, set XP to
max, do unstore('advance=true'), DO NOT ADVANCE BECAUSE OUT OF TURN, store,
set XP to old XP(because it's transform_unit, which keeps XP), unstore.

so, for host 2 and ADVANCE_UNIT, the sequence is : store unit, set XP to max,
do unstore('advance=true'), DO NOT ADVANCE BECAUSE OUT OF TURN. buggy result:
unit with max XP which hasn't advanced.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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