URL:
  <http://gna.org/bugs/?18032>

                 Summary: [end_turn] ends the game
                 Project: Battle for Wesnoth
            Submitted by: slowthinker
            Submitted on: Fri Apr 15 06:29:54 2011
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.5
        Operating System: Windows XP

    _______________________________________________________

Details:

Next code shows the message, then wesnoth.exe is closed and reports no
error.
turn_number and DEBUG_MSG have no effect on the bug.

[event]
        name=turn refresh 
        first_time_only=no

        [if]
                {CONDITION side_number equals 3}
                {CONDITION turn_number equals 1}
        [then]
                        [end_turn] 
                        [/end_turn] 
                        {DEBUG_MSG "after end_turn"}
                [/then]
        [/if]
[/event]

You can reproduce the bug by running the attached scenario.
For details just read the file scenarios/xanthor.cfg.

Another bug related to end_turn is here:
https://gna.org/bugs/?func=detailitem&item_id=12714



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri Apr 15 06:29:54 2011  Name: end_turn_test.7z  Size: 51kB   By:
slowthinker

<http://gna.org/bugs/download.php?file_id=12861>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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