URL:
<http://gna.org/bugs/?16692>
Summary: name=turn $var - event's don't work
Project: Battle for Wesnoth
Submitted by: anonymissimus
Submitted on: Montag 13.09.2010 um 00:20
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: silene
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk r46431
Operating System: win xp
_______________________________________________________
Details:
[event]
name=turn 2
{DEBUG_MSG 1}
{VARIABLE var 3}
[event]
name=turn $var
delayed_variable_substitution=no
{DEBUG_MSG 2}
[/event]
[/event]
The nested event's name expands to turn3 instead of turn 3, visible in the
savegame and thus doesn't fire. It works if the space in turn $var is
replaced by an underscore so that's a workaround.
------------------------------------------
lua.cpp, luaW_tovconfig, line 392: The config data about the nested event's
name looks already suspicious when it comes from the lua interface and it
looks like a bug that may have more than this effect.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?16692>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs