Update of bug #16692 (project wesnoth):

                 Summary: Events with name=turn $var don't work unless quoted
=> Events with name=turn $var don't work

    _______________________________________________________

Follow-up Comment #4:

Regarding bug #16692, the test code in comment #2 still does not work in
Wesnoth 1.10 (despite having quotes).
I suspect there is no variable substitution at all occurring in the event
name.

Event names should perform variable substitution at the time that they are
checked for a match with the fired event, not before. The contents of the
[event] should be substituted at event firing time, unless documented
otherwise; that is the default assumption, and the way it worked in previous
versions.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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