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

the bug happens either with or without shroud updates.
the bug is in the sequence:

1. unit moves
2. moveto event is fired
3. WML event handler is activated which invokes lua code to modify shroud
(say, teleport the units to other location and fully shroud the map - a valid
use case taken from TSL)
4. undo stack is processed, apply_shroud_changes is called.
5. some locations, related to unit movement on the map are unshrouded by
apply_shroud_changes.
6. the code to shroud all the map doesn't work as intended - some extra
unintended shroud is removed.
6. WML author is puzzled "wtf! my code doesn't work! what is happening!? how
to fix it?"

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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