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

In general, it should be affecting any campaign that unstores a
variable-stored recall list in "prestart" events. I have not tested that.

While testing Invasion from the Unknown, I noticed that the recall list gets
duplicated when unstored from a variable using code such as:

-- CODE BEGIN
{FOREACH E2_RecallList k}
        {VARIABLE E2_RecallList[$k].x recall}
        {VARIABLE E2_RecallList[$k].y recall}
        [unstore_unit]
                variable=E2_RecallList[$k]
                find_vacant=no
        [/unstore_unit]
{NEXT k}
{CLEAR_VARIABLE E2_RecallList}
-- CODE END

However, ONLY when used in a "prestart" ([event] name=prestart) event. If
used in other events (such as "victory", or even "start"), the unstored
recall list is NOT duplicated. Might give a clue about the internal cause of
the bug.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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