[Commits] [wesnoth/wesnoth] 7c299c: Fixed [lift_fog] (bug #24680)

GitHub noreply at github.com
Fri May 27 16:29:27 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7c299ce4187076031c2c8ccc6c4a1dc65bf67d74
      https://github.com/wesnoth/wesnoth/commit/7c299ce4187076031c2c8ccc6c4a1dc65bf67d74
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-05-28 (Sat, 28 May 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Fixed [lift_fog] (bug #24680)

Firstly, there was a typo in the parse_fog_cfg utility function.

Secondly, wesnoth.get_sides returns a table of side proxy tables, not a
list of side numbers. I changed [lift_fog] and [reset_fog] to iterate through
the table returned by parse_fog_cfg.





More information about the Commits mailing list