URL:
  <http://gna.org/bugs/?16435>

                 Summary: lua tags do not evaluate wml booleans like the
engine does
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Samstag 14.08.2010 um 23:27
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk
        Operating System: win xp

    _______________________________________________________

Details:

It's an issue in move_unit and store_unit (at least). Lua casts strings "no"
and "false" to boolean false, but "off", "0" and "0.0" stay strings and are
evaluated as true later on. Possibly making utils::string_bool available (or
putting it in helper.lua).




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to