Follow-up Comment #2, bug #20211 (project wesnoth):
What I'm seeing happening is that the after the scenario ends in victory, the
game recognizes that it ended in the prestart event.
There are no teams defined in the scenario, so teams_.empty() evaluates to
true at line 432 of playsingle_controller() and the sides are stored in
gamestate_.snapshot directly from the config.
Later, the game stores carryover for each side, at which point all the units
from that side get added to the recall list. However, when the unit is created
to add to the recall list, there is a check to see that the unit is valid, and
because there are no teams, when the side of the unit is checked against the
number of teams, an exception is thrown during unit validation.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20211>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs