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

Using the conditions jamit described (primarily ending the first planned move
on a friendly unit), I find the following in 1.13.1+dev:

Turn indicator 1: Not possible as this results in the friendly unit being
selected.

Turn indicator 2: 'Dashed arrow', upon ending the turn the invalid planned
move is discarded without warning.

Turn indicator 3: 'Dashed arrow', upon ending the turn the invalid planned
move is discarded without warning.

Turn indicator 4+: 'Dashed arrow', upon ending the turn an assertion failure
is flagged (even in 'release' build). If ignored, the invalid planned move is
discarded without warning.

The aforementioned assertion is in side_actions_container::erase():
assert(turn_of_position == 0);

This is a rather contrived set-up, I don't think it is likely it will happen
in normal play. Nonetheless, I think it would be good to implement a solution
like disabling the 'end turn' button (and corresponding hot-key) while an
invalid planned move is in place. Alternatively, display a warning or prompt
when attempting to end the turn and prevent end of turn until the invalid
planned move is removed.

It does involve a lot of UI tinkering, which I'm not very good at - let alone
in Wesnoth. So I'll leave this as a suggestion or 'wish' while this bug report
remains open.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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