URL:
<http://gna.org/bugs/?21906>
Summary: replays can change global variables
Project: Battle for Wesnoth
Submitted by: gfgtdf
Submitted on: Sa 12 Apr 2014 01:25:20 UTC
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.13-dev
Operating System: windows
_______________________________________________________
Details:
we currently check for beeing in a replay in set_global_variable with 'if
(get_replay_source().at_end() || (network::nconnections() != 0))'
however, this obviously doesn't work if the currently executed command is the
last one in the replay, becasue in that case at_end() will return true.
(I also tested this.)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21906>
_______________________________________________
Nachricht gesendet von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs