URL:
<http://gna.org/bugs/?18749>
Summary: clearing specific index of an array doesn't work
Project: Battle for Wesnoth
Submitted by: anonymissimus
Submitted on: Di 27 Sep 2011 21:15:07 GMT
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: thonsew
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: r51307
Operating System: win xp
_______________________________________________________
Details:
The following clears the complete array, while it clears only the index 0
(removes that index entirely) in r50853:
[event]
name=array
[set_variables]
name=array
[value]
name=first
[/value]
[value]
name=second
[/value]
[/set_variables]
{CLEAR_VARIABLE array[0]}
[/event]
As can be seen with :inspect.
Lua's wesnoth.set_variable is also affected.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18749>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs