Update of bug #18828 (project wesnoth):

             Assigned to:                    None => anonymissimus          

    _______________________________________________________

Follow-up Comment #2:

Finally I think I understand.
This code triggers the bug:
++
        [event]
                name=turn 2
                [endlevel]
                        result=victory
                        linger_mode=yes
                [/endlevel]
        [/event]
        [event]
                name=victory
                [endlevel]
                        result=victory
                        linger_mode=no
                [/endlevel]
        [/event]
--

What happens is that an end_level_exception for victory is thrown with linger
mode enabled, then the victory event sets linger mode to false, which causes
the linger mode cleanup code to be skipped since the engine now thinks this
victory exception was thrown with linger_mode=no, thus the next scenario
starts with linger mode.
A workaround is to put linger_mode=false into the previous [endlevel] tag.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to