URL:
<http://gna.org/bugs/?20350>
Summary: [disallow_end_turn] state is not kept correctly
across save/reload
Project: Battle for Wesnoth
Submitted by: shadowmaster
Submitted on: Wed 05 Dec 2012 02:06:56 AM CLST
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: shadowmaster
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.10.x
Operating System: Maybe any
_______________________________________________________
Details:
The effects of the [disallow_end_turn] WML action are not remembered after
save-reloading in Wesnoth 1.10.x, even though can_end_turn is properly set to
no under the [snapshot] node in saved games.
Steps to reproduce:
- Insert a [disallow_end_turn] action in a scenario's prestart event and run
the scenario.
- Try to end your turn; you will be presented with a message stating you are
not allowed to end your turn yet.
- Save and reload.
- Try to end your turn; you will succeed.
This does not appear to affect trunk, possibly as a side effect of ayne's
refactoring around the code responsible for retrieving the can_end_turn and
other attributes from saved games.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20350>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs